ghost 5.80.1 → 5.80.3

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 (191) hide show
  1. package/components/tryghost-adapter-cache-memory-ttl-5.80.3.tgz +0 -0
  2. package/components/{tryghost-adapter-cache-redis-5.80.1.tgz → tryghost-adapter-cache-redis-5.80.3.tgz} +0 -0
  3. package/components/{tryghost-adapter-manager-5.80.1.tgz → tryghost-adapter-manager-5.80.3.tgz} +0 -0
  4. package/components/tryghost-announcement-bar-settings-5.80.3.tgz +0 -0
  5. package/components/{tryghost-api-framework-5.80.1.tgz → tryghost-api-framework-5.80.3.tgz} +0 -0
  6. package/components/{tryghost-api-version-compatibility-service-5.80.1.tgz → tryghost-api-version-compatibility-service-5.80.3.tgz} +0 -0
  7. package/components/tryghost-audience-feedback-5.80.3.tgz +0 -0
  8. package/components/{tryghost-bookshelf-repository-5.80.1.tgz → tryghost-bookshelf-repository-5.80.3.tgz} +0 -0
  9. package/components/{tryghost-bootstrap-socket-5.80.1.tgz → tryghost-bootstrap-socket-5.80.3.tgz} +0 -0
  10. package/components/tryghost-collections-5.80.3.tgz +0 -0
  11. package/components/{tryghost-constants-5.80.1.tgz → tryghost-constants-5.80.3.tgz} +0 -0
  12. package/components/tryghost-custom-theme-settings-service-5.80.3.tgz +0 -0
  13. package/components/{tryghost-data-generator-5.80.1.tgz → tryghost-data-generator-5.80.3.tgz} +0 -0
  14. package/components/tryghost-domain-events-5.80.3.tgz +0 -0
  15. package/components/tryghost-donations-5.80.3.tgz +0 -0
  16. package/components/tryghost-dynamic-routing-events-5.80.3.tgz +0 -0
  17. package/components/tryghost-email-addresses-5.80.3.tgz +0 -0
  18. package/components/tryghost-email-analytics-provider-mailgun-5.80.3.tgz +0 -0
  19. package/components/tryghost-email-analytics-service-5.80.3.tgz +0 -0
  20. package/components/tryghost-email-content-generator-5.80.3.tgz +0 -0
  21. package/components/{tryghost-email-events-5.80.1.tgz → tryghost-email-events-5.80.3.tgz} +0 -0
  22. package/components/tryghost-email-service-5.80.3.tgz +0 -0
  23. package/components/tryghost-email-suppression-list-5.80.3.tgz +0 -0
  24. package/components/{tryghost-express-dynamic-redirects-5.80.1.tgz → tryghost-express-dynamic-redirects-5.80.3.tgz} +0 -0
  25. package/components/tryghost-external-media-inliner-5.80.3.tgz +0 -0
  26. package/components/tryghost-extract-api-key-5.80.3.tgz +0 -0
  27. package/components/tryghost-ghost-5.80.3.tgz +0 -0
  28. package/components/{tryghost-html-to-plaintext-5.80.1.tgz → tryghost-html-to-plaintext-5.80.3.tgz} +0 -0
  29. package/components/tryghost-i18n-5.80.3.tgz +0 -0
  30. package/components/tryghost-importer-handler-content-files-5.80.3.tgz +0 -0
  31. package/components/{tryghost-importer-revue-5.80.1.tgz → tryghost-importer-revue-5.80.3.tgz} +0 -0
  32. package/components/tryghost-in-memory-repository-5.80.3.tgz +0 -0
  33. package/components/tryghost-job-manager-5.80.3.tgz +0 -0
  34. package/components/tryghost-link-redirects-5.80.3.tgz +0 -0
  35. package/components/tryghost-link-replacer-5.80.3.tgz +0 -0
  36. package/components/tryghost-link-tracking-5.80.3.tgz +0 -0
  37. package/components/tryghost-magic-link-5.80.3.tgz +0 -0
  38. package/components/tryghost-mail-events-5.80.3.tgz +0 -0
  39. package/components/tryghost-mailgun-client-5.80.3.tgz +0 -0
  40. package/components/tryghost-member-attribution-5.80.3.tgz +0 -0
  41. package/components/{tryghost-member-events-5.80.1.tgz → tryghost-member-events-5.80.3.tgz} +0 -0
  42. package/components/tryghost-members-api-5.80.3.tgz +0 -0
  43. package/components/tryghost-members-csv-5.80.3.tgz +0 -0
  44. package/components/{tryghost-members-events-service-5.80.1.tgz → tryghost-members-events-service-5.80.3.tgz} +0 -0
  45. package/components/tryghost-members-importer-5.80.3.tgz +0 -0
  46. package/components/{tryghost-members-offers-5.80.1.tgz → tryghost-members-offers-5.80.3.tgz} +0 -0
  47. package/components/tryghost-members-payments-5.80.3.tgz +0 -0
  48. package/components/tryghost-members-ssr-5.80.3.tgz +0 -0
  49. package/components/{tryghost-members-stripe-service-5.80.1.tgz → tryghost-members-stripe-service-5.80.3.tgz} +0 -0
  50. package/components/tryghost-mentions-email-report-5.80.3.tgz +0 -0
  51. package/components/tryghost-milestones-5.80.3.tgz +0 -0
  52. package/components/tryghost-minifier-5.80.3.tgz +0 -0
  53. package/components/{tryghost-model-to-domain-event-interceptor-5.80.1.tgz → tryghost-model-to-domain-event-interceptor-5.80.3.tgz} +0 -0
  54. package/components/tryghost-mw-api-version-mismatch-5.80.3.tgz +0 -0
  55. package/components/tryghost-mw-cache-control-5.80.3.tgz +0 -0
  56. package/components/{tryghost-mw-error-handler-5.80.1.tgz → tryghost-mw-error-handler-5.80.3.tgz} +0 -0
  57. package/components/{tryghost-mw-session-from-token-5.80.1.tgz → tryghost-mw-session-from-token-5.80.3.tgz} +0 -0
  58. package/components/{tryghost-mw-update-user-last-seen-5.80.1.tgz → tryghost-mw-update-user-last-seen-5.80.3.tgz} +0 -0
  59. package/components/tryghost-mw-version-match-5.80.3.tgz +0 -0
  60. package/components/tryghost-mw-vhost-5.80.3.tgz +0 -0
  61. package/components/tryghost-nql-filter-expansions-5.80.3.tgz +0 -0
  62. package/components/tryghost-oembed-service-5.80.3.tgz +0 -0
  63. package/components/tryghost-package-json-5.80.3.tgz +0 -0
  64. package/components/{tryghost-post-events-5.80.1.tgz → tryghost-post-events-5.80.3.tgz} +0 -0
  65. package/components/tryghost-post-revisions-5.80.3.tgz +0 -0
  66. package/components/tryghost-posts-service-5.80.3.tgz +0 -0
  67. package/components/tryghost-recommendations-5.80.3.tgz +0 -0
  68. package/components/tryghost-referrers-5.80.3.tgz +0 -0
  69. package/components/{tryghost-security-5.80.1.tgz → tryghost-security-5.80.3.tgz} +0 -0
  70. package/components/tryghost-session-service-5.80.3.tgz +0 -0
  71. package/components/tryghost-settings-path-manager-5.80.3.tgz +0 -0
  72. package/components/tryghost-slack-notifications-5.80.3.tgz +0 -0
  73. package/components/{tryghost-staff-service-5.80.1.tgz → tryghost-staff-service-5.80.3.tgz} +0 -0
  74. package/components/{tryghost-stats-service-5.80.1.tgz → tryghost-stats-service-5.80.3.tgz} +0 -0
  75. package/components/tryghost-tiers-5.80.3.tgz +0 -0
  76. package/components/{tryghost-update-check-service-5.80.1.tgz → tryghost-update-check-service-5.80.3.tgz} +0 -0
  77. package/components/tryghost-verification-trigger-5.80.3.tgz +0 -0
  78. package/components/{tryghost-version-notifications-data-service-5.80.1.tgz → tryghost-version-notifications-data-service-5.80.3.tgz} +0 -0
  79. package/components/tryghost-webmentions-5.80.3.tgz +0 -0
  80. package/content/themes/casper/assets/built/screen.css +1 -1
  81. package/content/themes/casper/assets/built/screen.css.map +1 -1
  82. package/content/themes/casper/assets/css/screen.css +4 -0
  83. package/content/themes/casper/default.hbs +3 -3
  84. package/content/themes/casper/package.json +1 -1
  85. package/content/themes/casper/partials/post-card.hbs +1 -1
  86. package/content/themes/casper/post.hbs +3 -3
  87. package/content/themes/source/assets/built/screen.css +1 -1
  88. package/content/themes/source/assets/built/screen.css.map +1 -1
  89. package/content/themes/source/assets/built/source.js +1 -1
  90. package/content/themes/source/assets/built/source.js.map +1 -1
  91. package/content/themes/source/assets/css/screen.css +80 -33
  92. package/content/themes/source/assets/js/{casper.js → main.js} +14 -0
  93. package/content/themes/source/package.json +16 -1
  94. package/content/themes/source/partials/components/cta.hbs +1 -1
  95. package/content/themes/source/partials/components/footer.hbs +2 -2
  96. package/content/themes/source/partials/components/header-content.hbs +2 -2
  97. package/content/themes/source/partials/components/navigation.hbs +1 -1
  98. package/content/themes/source/partials/email-subscription.hbs +2 -2
  99. package/content/themes/source/partials/icons/lock.hbs +1 -5
  100. package/content/themes/source/partials/post-card.hbs +13 -3
  101. package/content/themes/source/post.hbs +18 -14
  102. package/core/boot.js +27 -0
  103. package/core/built/admin/assets/admin-x-demo/admin-x-demo.js +1 -1
  104. package/core/built/admin/assets/admin-x-demo/{index-0722d3aa.mjs → index-771f4964.mjs} +2 -2
  105. package/core/built/admin/assets/admin-x-demo/{modals-969dbbd3.mjs → modals-4c390700.mjs} +46 -46
  106. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-cd254a7a.mjs → CodeEditorView-00610c2f.mjs} +2 -2
  107. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
  108. package/core/built/admin/assets/admin-x-settings/{index-b52632c4.mjs → index-2deb7a1f.mjs} +4273 -4908
  109. package/core/built/admin/assets/admin-x-settings/{index-613b352d.mjs → index-e308aac8.mjs} +2859 -2831
  110. package/core/built/admin/assets/admin-x-settings/{modals-99dbacc0.mjs → modals-e2ca767c.mjs} +13267 -10619
  111. package/core/built/admin/assets/{chunk.524.eecfc0cb2091306f132c.js → chunk.524.c6ed93ff44a9cb49235c.js} +6 -6
  112. package/core/built/admin/assets/{chunk.582.e04c74f002928b557602.js → chunk.582.4e31037f1eb4c88f017f.js} +4 -4
  113. package/core/built/admin/assets/{chunk.763.6b160e403073ecabbfa6.js → chunk.763.7849440ec6494d2449e9.js} +997 -1197
  114. package/core/built/admin/assets/{ghost-ea7a51891dfca9b7a04aacfffe7dea4e.js → ghost-594a7dd26bdb4fec210b285cab5555cb.js} +14 -14
  115. package/core/built/admin/assets/ghost-71cfcdf9410af9b3aec11a28f9a4130f.css +1 -0
  116. package/core/built/admin/assets/ghost-dark-1e5bec737be037b1b5cb2a423603271d.css +1 -0
  117. package/core/built/admin/assets/{vendor-6b83da0c6e6fede335947219c59e1543.js → vendor-43a631b7c834235c4ff0b2186b5ca27d.js} +7 -9
  118. package/core/built/admin/index.html +6 -6
  119. package/core/frontend/helpers/get.js +89 -2
  120. package/core/frontend/public/robots.txt +0 -1
  121. package/core/frontend/services/rendering/renderer.js +19 -1
  122. package/core/frontend/services/theme-engine/i18n/I18n.js +7 -6
  123. package/core/frontend/services/theme-engine/i18n/ThemeI18n.js +4 -3
  124. package/core/server/adapters/storage/LocalStorageBase.js +13 -1
  125. package/core/server/api/endpoints/images.js +14 -3
  126. package/core/server/api/endpoints/utils/serializers/input/tiers.js +30 -2
  127. package/core/server/services/auth/api-key/admin.js +92 -90
  128. package/core/server/services/members/service.js +3 -1
  129. package/core/server/services/slack-notifications/service.js +6 -3
  130. package/core/server/services/themes/installer.js +1 -1
  131. package/core/server/services/tiers/TierRepository.js +2 -1
  132. package/core/server/web/admin/app.js +18 -1
  133. package/core/server/web/api/endpoints/admin/app.js +10 -0
  134. package/core/shared/labs.js +1 -0
  135. package/package.json +152 -150
  136. package/yarn.lock +532 -324
  137. package/components/tryghost-adapter-cache-memory-ttl-5.80.1.tgz +0 -0
  138. package/components/tryghost-announcement-bar-settings-5.80.1.tgz +0 -0
  139. package/components/tryghost-audience-feedback-5.80.1.tgz +0 -0
  140. package/components/tryghost-collections-5.80.1.tgz +0 -0
  141. package/components/tryghost-custom-theme-settings-service-5.80.1.tgz +0 -0
  142. package/components/tryghost-domain-events-5.80.1.tgz +0 -0
  143. package/components/tryghost-donations-5.80.1.tgz +0 -0
  144. package/components/tryghost-dynamic-routing-events-5.80.1.tgz +0 -0
  145. package/components/tryghost-email-addresses-5.80.1.tgz +0 -0
  146. package/components/tryghost-email-analytics-provider-mailgun-5.80.1.tgz +0 -0
  147. package/components/tryghost-email-analytics-service-5.80.1.tgz +0 -0
  148. package/components/tryghost-email-content-generator-5.80.1.tgz +0 -0
  149. package/components/tryghost-email-service-5.80.1.tgz +0 -0
  150. package/components/tryghost-email-suppression-list-5.80.1.tgz +0 -0
  151. package/components/tryghost-external-media-inliner-5.80.1.tgz +0 -0
  152. package/components/tryghost-extract-api-key-5.80.1.tgz +0 -0
  153. package/components/tryghost-i18n-5.80.1.tgz +0 -0
  154. package/components/tryghost-importer-handler-content-files-5.80.1.tgz +0 -0
  155. package/components/tryghost-in-memory-repository-5.80.1.tgz +0 -0
  156. package/components/tryghost-job-manager-5.80.1.tgz +0 -0
  157. package/components/tryghost-link-redirects-5.80.1.tgz +0 -0
  158. package/components/tryghost-link-replacer-5.80.1.tgz +0 -0
  159. package/components/tryghost-link-tracking-5.80.1.tgz +0 -0
  160. package/components/tryghost-magic-link-5.80.1.tgz +0 -0
  161. package/components/tryghost-mail-events-5.80.1.tgz +0 -0
  162. package/components/tryghost-mailgun-client-5.80.1.tgz +0 -0
  163. package/components/tryghost-member-attribution-5.80.1.tgz +0 -0
  164. package/components/tryghost-members-api-5.80.1.tgz +0 -0
  165. package/components/tryghost-members-csv-5.80.1.tgz +0 -0
  166. package/components/tryghost-members-importer-5.80.1.tgz +0 -0
  167. package/components/tryghost-members-payments-5.80.1.tgz +0 -0
  168. package/components/tryghost-members-ssr-5.80.1.tgz +0 -0
  169. package/components/tryghost-mentions-email-report-5.80.1.tgz +0 -0
  170. package/components/tryghost-milestones-5.80.1.tgz +0 -0
  171. package/components/tryghost-minifier-5.80.1.tgz +0 -0
  172. package/components/tryghost-mw-api-version-mismatch-5.80.1.tgz +0 -0
  173. package/components/tryghost-mw-cache-control-5.80.1.tgz +0 -0
  174. package/components/tryghost-mw-version-match-5.80.1.tgz +0 -0
  175. package/components/tryghost-mw-vhost-5.80.1.tgz +0 -0
  176. package/components/tryghost-nql-filter-expansions-5.80.1.tgz +0 -0
  177. package/components/tryghost-oembed-service-5.80.1.tgz +0 -0
  178. package/components/tryghost-package-json-5.80.1.tgz +0 -0
  179. package/components/tryghost-post-revisions-5.80.1.tgz +0 -0
  180. package/components/tryghost-posts-service-5.80.1.tgz +0 -0
  181. package/components/tryghost-recommendations-5.80.1.tgz +0 -0
  182. package/components/tryghost-referrers-5.80.1.tgz +0 -0
  183. package/components/tryghost-session-service-5.80.1.tgz +0 -0
  184. package/components/tryghost-settings-path-manager-5.80.1.tgz +0 -0
  185. package/components/tryghost-slack-notifications-5.80.1.tgz +0 -0
  186. package/components/tryghost-tiers-5.80.1.tgz +0 -0
  187. package/components/tryghost-verification-trigger-5.80.1.tgz +0 -0
  188. package/components/tryghost-webmentions-5.80.1.tgz +0 -0
  189. package/core/built/admin/assets/ghost-40f01556960b49381176bbfa19a89c9a.css +0 -1
  190. package/core/built/admin/assets/ghost-dark-a86f0499bf2697104213d035da3a3b4d.css +0 -1
  191. /package/core/built/admin/assets/{chunk.763.6b160e403073ecabbfa6.js.LICENSE.txt → chunk.763.7849440ec6494d2449e9.js.LICENSE.txt} +0 -0
@@ -8369,7 +8369,7 @@ const FI = () => {
8369
8369
  paths: {
8370
8370
  "demo-modal": "DemoModal"
8371
8371
  },
8372
- load: async () => import("./modals-969dbbd3.mjs")
8372
+ load: async () => import("./modals-4c390700.mjs")
8373
8373
  }, ej = ({ framework: t, designSystem: e }) => /* @__PURE__ */ d.jsx(YI, { ...t, children: /* @__PURE__ */ d.jsx(VI, { basePath: "demo-x", modals: qI, children: /* @__PURE__ */ d.jsx(bI, { className: "admin-x-demo", ...e, children: /* @__PURE__ */ d.jsx($I, {}) }) }) });
8374
8374
  export {
8375
8375
  ej as A,
@@ -8385,4 +8385,4 @@ export {
8385
8385
  d as j,
8386
8386
  so as u
8387
8387
  };
8388
- //# sourceMappingURL=index-0722d3aa.mjs.map
8388
+ //# sourceMappingURL=index-771f4964.mjs.map
@@ -1,4 +1,4 @@
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-0722d3aa.mjs";
1
+ import { c as e, j as s, u as O, a as te, b as P, d as $, B as K, e as ae, H as T, N as D, f as le } from "./index-771f4964.mjs";
2
2
  const oe = ({
3
3
  shiftY: l,
4
4
  footerBgColorClass: n = "bg-white dark:bg-black",
@@ -6,20 +6,20 @@ const oe = ({
6
6
  height: c = 96,
7
7
  children: m
8
8
  }) => {
9
- const f = e(
9
+ const h = e(
10
10
  "w-100 sticky bottom-[-24px] z-[297] m-0 box-border p-0"
11
11
  ), g = l ? `calc(${l} - 24px)` : "-24px", x = `${c + 24}px`, u = e(
12
12
  "sticky z-[298] block h-[24px]",
13
13
  i
14
- ), j = "0", h = e(
14
+ ), j = "0", k = e(
15
15
  "sticky z-[299] mb-[-24px] flex items-center justify-between",
16
16
  "h-[96px]",
17
17
  n
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`;
18
+ ), p = "0", v = `${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",
21
21
  {
22
- className: f,
22
+ className: h,
23
23
  style: {
24
24
  bottom: g,
25
25
  height: x
@@ -37,10 +37,10 @@ const oe = ({
37
37
  /* @__PURE__ */ s.jsx(
38
38
  "div",
39
39
  {
40
- className: h,
40
+ className: k,
41
41
  style: {
42
42
  bottom: p,
43
- height: k
43
+ height: v
44
44
  },
45
45
  children: m
46
46
  }
@@ -74,29 +74,29 @@ function F(l, n, i = {}) {
74
74
  ...i
75
75
  }) : n();
76
76
  }
77
- const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
77
+ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", U = ({
78
78
  size: l = "md",
79
79
  width: n,
80
80
  height: i,
81
81
  testId: c,
82
82
  title: m,
83
- okLabel: f = "OK",
83
+ okLabel: h = "OK",
84
84
  okLoading: g = !1,
85
85
  cancelLabel: x = "Cancel",
86
86
  footer: u,
87
87
  header: j,
88
- leftButtonProps: h,
88
+ leftButtonProps: k,
89
89
  buttonsDisabled: p,
90
- padding: k = !0,
90
+ padding: v = !0,
91
91
  onOk: b,
92
92
  okColor: B = "black",
93
93
  onCancel: N,
94
- topRightContent: v,
95
- hideXOnMobile: X = !1,
94
+ topRightContent: y,
95
+ hideXOnMobile: W = !1,
96
96
  afterClose: C,
97
- children: q,
98
- backDrop: J = !0,
99
- backDropClick: P = !0,
97
+ children: X,
98
+ backDrop: q = !0,
99
+ backDropClick: J = !0,
100
100
  stickyFooter: z = !1,
101
101
  stickyHeader: Q = !1,
102
102
  scrolling: R = !0,
@@ -105,16 +105,16 @@ const ne = "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: I } = te(), [G, Y] = U(!1);
108
+ const H = O(), { setGlobalDirtyState: I } = te(), [G, Y] = P(!1);
109
109
  $(() => {
110
110
  I(E);
111
111
  }, [E, I]), $(() => {
112
- const r = (w) => {
113
- w.key === "Escape" && (document.activeElement && document.activeElement instanceof HTMLElement && document.activeElement.blur(), setTimeout(() => {
112
+ const r = (f) => {
113
+ f.key === "Escape" && (document.activeElement && document.activeElement instanceof HTMLElement && document.activeElement.blur(), setTimeout(() => {
114
114
  N ? N() : F(E, () => {
115
115
  H.remove(), C == null || C();
116
116
  });
117
- }));
117
+ }), f.stopPropagation());
118
118
  };
119
119
  return document.addEventListener("keydown", r), () => {
120
120
  document.removeEventListener("keydown", r);
@@ -126,8 +126,8 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
126
126
  return () => clearTimeout(r);
127
127
  }, []), $(() => {
128
128
  if (b) {
129
- const r = (w) => {
130
- (w.metaKey || w.ctrlKey) && w.key === "s" && (w.preventDefault(), b());
129
+ const r = (f) => {
130
+ (f.metaKey || f.ctrlKey) && f.key === "s" && (f.preventDefault(), b());
131
131
  };
132
132
  if (Z)
133
133
  return window.addEventListener("keydown", r), () => {
@@ -150,9 +150,9 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
150
150
  S();
151
151
  }),
152
152
  disabled: p
153
- }), f && _.push({
153
+ }), h && _.push({
154
154
  key: "ok-modal",
155
- label: f,
155
+ label: h,
156
156
  color: B,
157
157
  className: "min-w-[80px]",
158
158
  onClick: b,
@@ -169,7 +169,7 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
169
169
  ), o = e(
170
170
  "fixed inset-0 z-[1000] h-[100vh] w-[100vw]"
171
171
  ), d = "", t = e(
172
- !v || v === "close" ? "" : "flex items-center justify-between gap-5"
172
+ !y || y === "close" ? "" : "flex items-center justify-between gap-5"
173
173
  );
174
174
  switch (Q && (t = e(
175
175
  t,
@@ -254,7 +254,7 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
254
254
  );
255
255
  break;
256
256
  }
257
- k || (d = "p-0"), a = e(
257
+ v || (d = "p-0"), a = e(
258
258
  a
259
259
  ), t = e(
260
260
  t,
@@ -276,7 +276,7 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
276
276
  (l === "full" || l === "bleed" || i === "full" || typeof i == "number") && "grow"
277
277
  );
278
278
  const se = (r) => {
279
- r.target === r.currentTarget && P && S();
279
+ r.target === r.currentTarget && J && S();
280
280
  }, L = {};
281
281
  typeof n == "number" ? (L.width = "100%", L.maxWidth = n + "px") : n === "full" && (a = e(
282
282
  a,
@@ -285,26 +285,26 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
285
285
  a,
286
286
  "h-full"
287
287
  ));
288
- let y;
289
- return u ? y = u : u === !1 ? A += " pb-0 " : y = /* @__PURE__ */ s.jsxs("div", { className: ee, children: [
290
- /* @__PURE__ */ s.jsx("div", { children: h && /* @__PURE__ */ s.jsx(K, { ...h }) }),
288
+ let w;
289
+ return u ? w = u : u === !1 ? A += " pb-0 " : w = /* @__PURE__ */ s.jsxs("div", { className: ee, children: [
290
+ /* @__PURE__ */ s.jsx("div", { children: k && /* @__PURE__ */ s.jsx(K, { ...k }) }),
291
291
  /* @__PURE__ */ s.jsx("div", { className: "flex gap-3", children: /* @__PURE__ */ s.jsx(ae, { buttons: _ }) })
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: [
292
+ ] }), w = z ? /* @__PURE__ */ s.jsx(oe, { height: 84, children: w }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: w }), /* @__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 && ne,
295
+ q && !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
- j === !1 ? "" : !v || v === "close" ? /* @__PURE__ */ s.jsxs("header", { className: t, children: [
299
+ j === !1 ? "" : !y || y === "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", testId: "close-modal", unstyled: !0, onClick: S }) })
301
+ /* @__PURE__ */ s.jsx("div", { className: `${y !== "close" && "md:!invisible md:!hidden"} ${W && "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
- v
304
+ y
305
305
  ] }),
306
- /* @__PURE__ */ s.jsx("div", { className: A, children: q }),
307
- y
306
+ /* @__PURE__ */ s.jsx("div", { className: A, children: X }),
307
+ w
308
308
  ] })
309
309
  ] });
310
310
  }, ie = ({
@@ -313,35 +313,35 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
313
313
  cancelLabel: i = "Cancel",
314
314
  okLabel: c = "OK",
315
315
  okRunningLabel: m = "...",
316
- okColor: f = "black",
316
+ okColor: h = "black",
317
317
  onCancel: g,
318
318
  onOk: x,
319
319
  customFooter: u,
320
320
  formSheet: j = !0
321
321
  }) => {
322
- const h = O(), [p, k] = U("");
322
+ const k = O(), [p, v] = P("");
323
323
  return /* @__PURE__ */ s.jsx(
324
- W,
324
+ U,
325
325
  {
326
326
  backDropClick: !1,
327
327
  buttonsDisabled: p === "running",
328
328
  cancelLabel: i,
329
329
  footer: u,
330
330
  formSheet: j,
331
- okColor: f,
331
+ okColor: h,
332
332
  okLabel: p === "running" ? m : c,
333
333
  testId: "confirmation-modal",
334
334
  title: l,
335
335
  width: 540,
336
336
  onCancel: g,
337
337
  onOk: async () => {
338
- k("running");
338
+ v("running");
339
339
  try {
340
- await (x == null ? void 0 : x(h));
340
+ await (x == null ? void 0 : x(k));
341
341
  } catch (b) {
342
342
  console.error("Unhandled Promise Rejection. Make sure you catch errors in your onOk handler.", b);
343
343
  }
344
- k("");
344
+ v("");
345
345
  },
346
346
  children: /* @__PURE__ */ s.jsx("div", { className: "py-4 leading-9", children: n })
347
347
  }
@@ -349,7 +349,7 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
349
349
  }, ce = D.create(ie), de = D.create(() => {
350
350
  const { updateRoute: l } = le(), n = D.useModal();
351
351
  return /* @__PURE__ */ s.jsx(
352
- W,
352
+ U,
353
353
  {
354
354
  afterClose: () => {
355
355
  l("");
@@ -378,4 +378,4 @@ const ne = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", W = ({
378
378
  export {
379
379
  me as default
380
380
  };
381
- //# sourceMappingURL=modals-969dbbd3.mjs.map
381
+ //# sourceMappingURL=modals-4c390700.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-613b352d.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-e308aac8.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);
@@ -2362,4 +2362,4 @@ const Ni = [
2362
2362
  export {
2363
2363
  Hi as default
2364
2364
  };
2365
- //# sourceMappingURL=CodeEditorView-cd254a7a.mjs.map
2365
+ //# sourceMappingURL=CodeEditorView-00610c2f.mjs.map