ghost 5.118.0 → 5.118.1
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.
- package/bin/minify-assets.js +119 -0
- package/components/{tryghost-api-framework-5.118.0.tgz → tryghost-api-framework-5.118.1.tgz} +0 -0
- package/components/tryghost-constants-5.118.1.tgz +0 -0
- package/components/tryghost-custom-fonts-5.118.1.tgz +0 -0
- package/components/{tryghost-custom-theme-settings-service-5.118.0.tgz → tryghost-custom-theme-settings-service-5.118.1.tgz} +0 -0
- package/components/tryghost-domain-events-5.118.1.tgz +0 -0
- package/components/tryghost-donations-5.118.1.tgz +0 -0
- package/components/{tryghost-email-addresses-5.118.0.tgz → tryghost-email-addresses-5.118.1.tgz} +0 -0
- package/components/{tryghost-email-service-5.118.0.tgz → tryghost-email-service-5.118.1.tgz} +0 -0
- package/components/tryghost-email-suppression-list-5.118.1.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.118.1.tgz +0 -0
- package/components/tryghost-i18n-5.118.1.tgz +0 -0
- package/components/{tryghost-job-manager-5.118.0.tgz → tryghost-job-manager-5.118.1.tgz} +0 -0
- package/components/tryghost-link-replacer-5.118.1.tgz +0 -0
- package/components/tryghost-magic-link-5.118.1.tgz +0 -0
- package/components/{tryghost-member-attribution-5.118.0.tgz → tryghost-member-attribution-5.118.1.tgz} +0 -0
- package/components/{tryghost-member-events-5.118.0.tgz → tryghost-member-events-5.118.1.tgz} +0 -0
- package/components/{tryghost-members-csv-5.118.0.tgz → tryghost-members-csv-5.118.1.tgz} +0 -0
- package/components/{tryghost-members-offers-5.118.0.tgz → tryghost-members-offers-5.118.1.tgz} +0 -0
- package/components/tryghost-mw-error-handler-5.118.1.tgz +0 -0
- package/components/{tryghost-mw-vhost-5.118.0.tgz → tryghost-mw-vhost-5.118.1.tgz} +0 -0
- package/components/tryghost-post-events-5.118.1.tgz +0 -0
- package/components/{tryghost-post-revisions-5.118.0.tgz → tryghost-post-revisions-5.118.1.tgz} +0 -0
- package/components/tryghost-posts-service-5.118.1.tgz +0 -0
- package/components/tryghost-prometheus-metrics-5.118.1.tgz +0 -0
- package/components/tryghost-security-5.118.1.tgz +0 -0
- package/components/tryghost-tiers-5.118.1.tgz +0 -0
- package/components/{tryghost-webmentions-5.118.0.tgz → tryghost-webmentions-5.118.1.tgz} +0 -0
- package/core/bridge.js +1 -11
- package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +9210 -8727
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-1143c509.mjs → CodeEditorView-9d2a0119.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-19ebc8ad.mjs → index-48250e60.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-ac104f42.mjs → index-fd83d7a5.mjs} +3400 -3356
- package/core/built/admin/assets/admin-x-settings/{modals-994901ee.mjs → modals-8fdc40a2.mjs} +7714 -7257
- package/core/built/admin/assets/chunk.524.9c1e444ecff073f053f5.js +35 -0
- package/core/built/admin/assets/chunk.582.9b35e36c109a3c2d486b.js +37 -0
- package/core/built/admin/assets/{chunk.713.48f120c377bcaffdfddf.js → chunk.709.0cb431c2ada3758f5368.js} +2728 -2726
- package/core/built/admin/assets/{chunk.713.48f120c377bcaffdfddf.js.LICENSE.txt → chunk.709.0cb431c2ada3758f5368.js.LICENSE.txt} +2 -2
- package/core/built/admin/assets/{ghost-cd90a28b214ee800a007bb62cd45e6e6.js → ghost-941b0691f9ab77a31452151d2828caee.js} +388 -388
- package/core/built/admin/assets/{ghost-ba58e9822f7384461e926c7e23f04a75.css → ghost-c10c25cbf2256a65051bf20fdb32b1a9.css} +1 -1
- package/core/built/admin/assets/{ghost-dark-f1f29683b14ffa11615b3bba8b6ab92c.css → ghost-dark-6cbe9c3d45b8b605f846c4b417881e50.css} +1 -1
- package/core/built/admin/assets/posts/posts.js +79873 -29814
- package/core/built/admin/assets/stats/stats.js +14441 -14417
- package/core/built/admin/assets/{vendor-8e3ee8261528bb429cfe78ce79a4a82a.js → vendor-778197221846b9f24b630ecc57b8d8a9.js} +25 -25
- package/core/built/admin/index.html +13 -22
- package/core/frontend/apps/private-blogging/lib/views/private.hbs +4 -12
- package/core/frontend/helpers/ghost_head.js +2 -2
- package/core/frontend/public/admin-auth/admin-auth.min.js +1 -0
- package/core/frontend/public/comment-counts.min.js +1 -0
- package/core/frontend/public/ghost-stats.min.js +1 -0
- package/core/frontend/public/member-attribution.min.js +1 -0
- package/core/frontend/services/assets-minification/index.js +1 -11
- package/core/frontend/src/ghost-stats/ghost-stats.js +234 -0
- package/core/frontend/src/member-attribution/member-attribution.js +29 -29
- package/core/frontend/src/utils/privacy.js +70 -0
- package/core/frontend/src/utils/session-storage.js +68 -0
- package/core/frontend/src/utils/url-attribution.js +92 -0
- package/core/frontend/web/site.js +26 -6
- package/core/server/services/activitypub/ActivityPubService.js +0 -5
- package/core/server/services/activitypub/ActivityPubService.ts +0 -5
- package/core/server/views/error.hbs +4 -9
- package/core/server/web/admin/app.js +3 -5
- package/core/server/web/admin/middleware/serve-auth-frame-file.js +35 -0
- package/core/shared/config/env/config.development.docker.json +8 -0
- package/core/shared/config/env/config.development.json +1 -1
- package/core/shared/config/helpers.js +1 -21
- package/core/shared/labs.js +3 -6
- package/package.json +75 -66
- package/tsconfig.tsbuildinfo +1 -1
- package/yarn.lock +379 -351
- package/components/tryghost-constants-5.118.0.tgz +0 -0
- package/components/tryghost-custom-fonts-5.118.0.tgz +0 -0
- package/components/tryghost-domain-events-5.118.0.tgz +0 -0
- package/components/tryghost-donations-5.118.0.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.118.0.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.118.0.tgz +0 -0
- package/components/tryghost-i18n-5.118.0.tgz +0 -0
- package/components/tryghost-link-replacer-5.118.0.tgz +0 -0
- package/components/tryghost-magic-link-5.118.0.tgz +0 -0
- package/components/tryghost-mw-error-handler-5.118.0.tgz +0 -0
- package/components/tryghost-post-events-5.118.0.tgz +0 -0
- package/components/tryghost-posts-service-5.118.0.tgz +0 -0
- package/components/tryghost-prometheus-metrics-5.118.0.tgz +0 -0
- package/components/tryghost-security-5.118.0.tgz +0 -0
- package/components/tryghost-tiers-5.118.0.tgz +0 -0
- package/core/built/admin/assets/admin-x-demo/admin-x-demo.js +0 -6
- package/core/built/admin/assets/admin-x-demo/index-09325f38.mjs +0 -11427
- package/core/built/admin/assets/admin-x-demo/modals-1a9ae8b7.mjs +0 -397
- package/core/built/admin/assets/chunk.524.5710919eb507b9a81166.js +0 -35
- package/core/built/admin/assets/chunk.582.c8cb99b85cfa13fc7df1.js +0 -37
- package/core/frontend/public/ghost-stats.js +0 -297
- package/core/frontend/services/assets-minification/AdminAuthAssets.js +0 -69
- package/core/frontend/services/assets-minification/CommentCountsAssets.js +0 -33
- package/core/frontend/services/assets-minification/MemberAttributionAssets.js +0 -45
- package/core/frontend/src/admin-auth/index.html +0 -6
- package/core/frontend/src/member-attribution/.eslintrc +0 -10
- /package/core/frontend/src/comment-counts/{js/comment-counts.js → comment-counts.js} +0 -0
|
@@ -1,397 +0,0 @@
|
|
|
1
|
-
import { c as e, j as s, f as ne, u as W, a as ie, b as X, d as L, B as R, e as ce, H as G, N as $, g as de } from "./index-09325f38.mjs";
|
|
2
|
-
const re = ({
|
|
3
|
-
shiftY: l,
|
|
4
|
-
footerBgColorClass: i = "bg-white dark:bg-black",
|
|
5
|
-
contentBgColorClass: d = "bg-white dark:bg-black",
|
|
6
|
-
height: o = 96,
|
|
7
|
-
children: g
|
|
8
|
-
}) => {
|
|
9
|
-
const m = e(
|
|
10
|
-
"w-100 sticky bottom-[-24px] z-[297] m-0 box-border p-0"
|
|
11
|
-
), f = l ? `calc(${l} - 24px)` : "-24px", h = `${o + 24}px`, v = e(
|
|
12
|
-
"sticky z-[298] block h-[24px]",
|
|
13
|
-
d
|
|
14
|
-
), u = "0", j = e(
|
|
15
|
-
"sticky z-[299] mb-[-24px] flex items-center justify-between",
|
|
16
|
-
"h-[96px]",
|
|
17
|
-
i
|
|
18
|
-
), x = "0", p = `${o}px`, N = "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)]", D = l ? `calc(${l} + ${o - 24}px)` : `${o - 24}px`;
|
|
19
|
-
return /* @__PURE__ */ s.jsxs(
|
|
20
|
-
"div",
|
|
21
|
-
{
|
|
22
|
-
className: m,
|
|
23
|
-
style: {
|
|
24
|
-
bottom: f,
|
|
25
|
-
height: h
|
|
26
|
-
},
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ s.jsx(
|
|
29
|
-
"div",
|
|
30
|
-
{
|
|
31
|
-
className: v,
|
|
32
|
-
style: {
|
|
33
|
-
bottom: u
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ s.jsx(
|
|
38
|
-
"div",
|
|
39
|
-
{
|
|
40
|
-
className: j,
|
|
41
|
-
style: {
|
|
42
|
-
bottom: x,
|
|
43
|
-
height: p
|
|
44
|
-
},
|
|
45
|
-
children: g
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ s.jsx(
|
|
49
|
-
"div",
|
|
50
|
-
{
|
|
51
|
-
className: N,
|
|
52
|
-
style: {
|
|
53
|
-
bottom: D
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
};
|
|
61
|
-
function U(l, i, d = {}) {
|
|
62
|
-
l ? $.show(xe, {
|
|
63
|
-
title: "Are you sure you want to leave this page?",
|
|
64
|
-
prompt: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
65
|
-
/* @__PURE__ */ s.jsx("p", { children: "Hey there! It looks like you didn't save the changes you made." }),
|
|
66
|
-
/* @__PURE__ */ s.jsx("p", { children: "Save before you go!" })
|
|
67
|
-
] }),
|
|
68
|
-
okLabel: "Leave",
|
|
69
|
-
cancelLabel: "Stay",
|
|
70
|
-
okColor: "red",
|
|
71
|
-
onOk: (o) => {
|
|
72
|
-
i(), o == null || o.remove();
|
|
73
|
-
},
|
|
74
|
-
...d
|
|
75
|
-
}) : i();
|
|
76
|
-
}
|
|
77
|
-
const me = "bg-[rgba(98,109,121,0.2)] backdrop-blur-[3px]", I = ne(({
|
|
78
|
-
size: l = "md",
|
|
79
|
-
align: i = "center",
|
|
80
|
-
width: d,
|
|
81
|
-
height: o,
|
|
82
|
-
testId: g,
|
|
83
|
-
title: m,
|
|
84
|
-
okLabel: f = "OK",
|
|
85
|
-
okLoading: h = !1,
|
|
86
|
-
cancelLabel: v = "Cancel",
|
|
87
|
-
footer: u,
|
|
88
|
-
header: j,
|
|
89
|
-
leftButtonProps: x,
|
|
90
|
-
buttonsDisabled: p,
|
|
91
|
-
okDisabled: N,
|
|
92
|
-
padding: D = !0,
|
|
93
|
-
onOk: H,
|
|
94
|
-
okColor: q = "black",
|
|
95
|
-
onCancel: C,
|
|
96
|
-
topRightContent: k,
|
|
97
|
-
hideXOnMobile: J = !1,
|
|
98
|
-
afterClose: E,
|
|
99
|
-
children: Q,
|
|
100
|
-
backDrop: V = !0,
|
|
101
|
-
backDropClick: Z = !0,
|
|
102
|
-
stickyFooter: K = !1,
|
|
103
|
-
stickyHeader: Y = !1,
|
|
104
|
-
scrolling: ee = !0,
|
|
105
|
-
dirty: M = !1,
|
|
106
|
-
animate: F = !0,
|
|
107
|
-
formSheet: w = !1,
|
|
108
|
-
enableCMDS: se = !0,
|
|
109
|
-
allowBackgroundInteraction: O = !1
|
|
110
|
-
}, te) => {
|
|
111
|
-
const B = W(), { setGlobalDirtyState: P } = ie(), [S, ae] = X(!1);
|
|
112
|
-
L(() => {
|
|
113
|
-
P(M);
|
|
114
|
-
}, [M, P]), L(() => {
|
|
115
|
-
const r = (b) => {
|
|
116
|
-
b.key === "Escape" && (document.activeElement && document.activeElement instanceof HTMLElement && document.activeElement.blur(), setTimeout(() => {
|
|
117
|
-
C ? C() : U(M, () => {
|
|
118
|
-
B.remove(), E == null || E();
|
|
119
|
-
});
|
|
120
|
-
}), b.stopPropagation());
|
|
121
|
-
};
|
|
122
|
-
return document.addEventListener("keydown", r), () => {
|
|
123
|
-
document.removeEventListener("keydown", r);
|
|
124
|
-
};
|
|
125
|
-
}, [B, M, E, C]), L(() => {
|
|
126
|
-
const r = setTimeout(() => {
|
|
127
|
-
ae(!0);
|
|
128
|
-
}, 250);
|
|
129
|
-
return () => clearTimeout(r);
|
|
130
|
-
}, []), L(() => {
|
|
131
|
-
if (H) {
|
|
132
|
-
const r = (b) => {
|
|
133
|
-
(b.metaKey || b.ctrlKey) && b.key === "s" && (b.preventDefault(), H());
|
|
134
|
-
};
|
|
135
|
-
if (se)
|
|
136
|
-
return window.addEventListener("keydown", r), () => {
|
|
137
|
-
window.removeEventListener("keydown", r);
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
const T = [];
|
|
142
|
-
let _;
|
|
143
|
-
const z = () => {
|
|
144
|
-
U(M, () => {
|
|
145
|
-
B.remove(), E == null || E();
|
|
146
|
-
});
|
|
147
|
-
};
|
|
148
|
-
u || (v && T.push({
|
|
149
|
-
key: "cancel-modal",
|
|
150
|
-
label: v,
|
|
151
|
-
color: "outline",
|
|
152
|
-
onClick: C || (() => {
|
|
153
|
-
z();
|
|
154
|
-
}),
|
|
155
|
-
disabled: p
|
|
156
|
-
}), f && T.push({
|
|
157
|
-
key: "ok-modal",
|
|
158
|
-
label: f,
|
|
159
|
-
color: q,
|
|
160
|
-
className: "min-w-[80px]",
|
|
161
|
-
onClick: H,
|
|
162
|
-
disabled: p || N,
|
|
163
|
-
loading: h
|
|
164
|
-
}));
|
|
165
|
-
let t = e(
|
|
166
|
-
"relative z-50 flex max-h-[100%] w-full flex-col justify-between overflow-x-hidden bg-white dark:bg-black",
|
|
167
|
-
i === "center" && "mx-auto",
|
|
168
|
-
i === "left" && "mr-auto",
|
|
169
|
-
i === "right" && "ml-auto",
|
|
170
|
-
l !== "bleed" && "rounded",
|
|
171
|
-
w ? "shadow-md" : "shadow-xl",
|
|
172
|
-
F && !w && !S && i === "center" && "animate-modal-in",
|
|
173
|
-
F && !w && !S && i === "right" && "animate-modal-in-from-right",
|
|
174
|
-
w && !S && "animate-modal-in-reverse",
|
|
175
|
-
ee ? "overflow-y-auto" : "overflow-y-hidden"
|
|
176
|
-
), n = e(
|
|
177
|
-
"fixed inset-0 z-[1000] h-[100dvh] w-[100dvw]",
|
|
178
|
-
O && "pointer-events-none"
|
|
179
|
-
), c = "", a = e(
|
|
180
|
-
!k || k === "close" ? "" : "flex items-center justify-between gap-5"
|
|
181
|
-
);
|
|
182
|
-
switch (Y && (a = e(
|
|
183
|
-
a,
|
|
184
|
-
"sticky top-0 z-[300] -mb-4 bg-white !pb-4 dark:bg-black"
|
|
185
|
-
)), l) {
|
|
186
|
-
case "sm":
|
|
187
|
-
t = e(
|
|
188
|
-
t,
|
|
189
|
-
"max-w-[480px]"
|
|
190
|
-
), n = e(
|
|
191
|
-
n,
|
|
192
|
-
"p-4 md:p-[8vmin]"
|
|
193
|
-
), c = "p-8", a = e(
|
|
194
|
-
a,
|
|
195
|
-
"-inset-x-8"
|
|
196
|
-
);
|
|
197
|
-
break;
|
|
198
|
-
case "md":
|
|
199
|
-
t = e(
|
|
200
|
-
t,
|
|
201
|
-
"max-w-[720px]"
|
|
202
|
-
), n = e(
|
|
203
|
-
n,
|
|
204
|
-
"p-4 md:p-[8vmin]"
|
|
205
|
-
), c = "p-8", a = e(
|
|
206
|
-
a,
|
|
207
|
-
"-inset-x-8"
|
|
208
|
-
);
|
|
209
|
-
break;
|
|
210
|
-
case "lg":
|
|
211
|
-
t = e(
|
|
212
|
-
t,
|
|
213
|
-
"max-w-[1020px]"
|
|
214
|
-
), n = e(
|
|
215
|
-
n,
|
|
216
|
-
"p-4 md:p-[4vmin]"
|
|
217
|
-
), c = "p-7", a = e(
|
|
218
|
-
a,
|
|
219
|
-
"-inset-x-8"
|
|
220
|
-
);
|
|
221
|
-
break;
|
|
222
|
-
case "xl":
|
|
223
|
-
t = e(
|
|
224
|
-
t,
|
|
225
|
-
"max-w-[1240px]0"
|
|
226
|
-
), n = e(
|
|
227
|
-
n,
|
|
228
|
-
"p-4 md:p-[3vmin]"
|
|
229
|
-
), c = "p-10", a = e(
|
|
230
|
-
a,
|
|
231
|
-
"-inset-x-10 -top-10"
|
|
232
|
-
);
|
|
233
|
-
break;
|
|
234
|
-
case "full":
|
|
235
|
-
t = e(
|
|
236
|
-
t,
|
|
237
|
-
"h-full"
|
|
238
|
-
), n = e(
|
|
239
|
-
n,
|
|
240
|
-
"p-4 md:p-[3vmin]"
|
|
241
|
-
), c = "p-10", a = e(
|
|
242
|
-
a,
|
|
243
|
-
"-inset-x-10"
|
|
244
|
-
);
|
|
245
|
-
break;
|
|
246
|
-
case "bleed":
|
|
247
|
-
t = e(
|
|
248
|
-
t,
|
|
249
|
-
"h-full"
|
|
250
|
-
), c = "p-10", a = e(
|
|
251
|
-
a,
|
|
252
|
-
"-inset-x-10"
|
|
253
|
-
);
|
|
254
|
-
break;
|
|
255
|
-
default:
|
|
256
|
-
n = e(
|
|
257
|
-
n,
|
|
258
|
-
"p-4 md:p-[8vmin]"
|
|
259
|
-
), c = "p-8", a = e(
|
|
260
|
-
a,
|
|
261
|
-
"-inset-x-8"
|
|
262
|
-
);
|
|
263
|
-
break;
|
|
264
|
-
}
|
|
265
|
-
D || (c = "p-0"), t = e(
|
|
266
|
-
t
|
|
267
|
-
), a = e(
|
|
268
|
-
a,
|
|
269
|
-
c,
|
|
270
|
-
"pb-0"
|
|
271
|
-
), _ = e(
|
|
272
|
-
c,
|
|
273
|
-
"py-0"
|
|
274
|
-
), n = e(
|
|
275
|
-
n,
|
|
276
|
-
"max-[800px]:!pb-20"
|
|
277
|
-
);
|
|
278
|
-
const le = e(
|
|
279
|
-
`${c} ${K ? "py-6" : ""}`,
|
|
280
|
-
"flex w-full items-center justify-between"
|
|
281
|
-
);
|
|
282
|
-
_ = e(
|
|
283
|
-
_,
|
|
284
|
-
(l === "full" || l === "bleed" || o === "full" || typeof o == "number") && "grow"
|
|
285
|
-
);
|
|
286
|
-
const oe = (r) => {
|
|
287
|
-
r.target === r.currentTarget && Z && z();
|
|
288
|
-
}, A = {};
|
|
289
|
-
typeof d == "number" ? (A.width = "100%", A.maxWidth = d + "px") : d === "full" ? t = e(
|
|
290
|
-
t,
|
|
291
|
-
"w-full"
|
|
292
|
-
) : d === "toSidebar" && (t = e(
|
|
293
|
-
t,
|
|
294
|
-
"w-full max-w-[calc(100dvw_-_280px)] lg:max-w-full min-[1280px]:max-w-[calc(100dvw_-_320px)]"
|
|
295
|
-
)), typeof o == "number" ? (A.height = "100%", A.maxHeight = o + "px") : o === "full" && (t = e(
|
|
296
|
-
t,
|
|
297
|
-
"h-full"
|
|
298
|
-
));
|
|
299
|
-
let y;
|
|
300
|
-
return u ? y = u : u === !1 ? _ += " pb-0 " : y = /* @__PURE__ */ s.jsxs("div", { className: le, children: [
|
|
301
|
-
/* @__PURE__ */ s.jsx("div", { children: x && /* @__PURE__ */ s.jsx(R, { ...x }) }),
|
|
302
|
-
/* @__PURE__ */ s.jsx("div", { className: "flex gap-3", children: /* @__PURE__ */ s.jsx(ce, { buttons: T }) })
|
|
303
|
-
] }), y = K ? /* @__PURE__ */ s.jsx(re, { height: 84, children: y }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: y }), /* @__PURE__ */ s.jsxs("div", { className: n, id: "modal-backdrop", onMouseDown: oe, children: [
|
|
304
|
-
/* @__PURE__ */ s.jsx("div", { className: e(
|
|
305
|
-
"pointer-events-none fixed inset-0 z-0",
|
|
306
|
-
V && !w && me,
|
|
307
|
-
w && "bg-[rgba(98,109,121,0.08)]"
|
|
308
|
-
) }),
|
|
309
|
-
/* @__PURE__ */ s.jsxs("section", { ref: te, className: e(
|
|
310
|
-
t,
|
|
311
|
-
O && "pointer-events-auto"
|
|
312
|
-
), "data-testid": g, style: A, children: [
|
|
313
|
-
j === !1 ? "" : !k || k === "close" ? /* @__PURE__ */ s.jsxs("header", { className: a, children: [
|
|
314
|
-
m && /* @__PURE__ */ s.jsx(G, { level: 3, children: m }),
|
|
315
|
-
/* @__PURE__ */ s.jsx("div", { className: `${k !== "close" && "md:!invisible md:!hidden"} ${J && "hidden"} absolute right-6 top-6`, children: /* @__PURE__ */ s.jsx(R, { 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: z }) })
|
|
316
|
-
] }) : /* @__PURE__ */ s.jsxs("header", { className: a, children: [
|
|
317
|
-
m && /* @__PURE__ */ s.jsx(G, { level: 3, children: m }),
|
|
318
|
-
k
|
|
319
|
-
] }),
|
|
320
|
-
/* @__PURE__ */ s.jsx("div", { className: _, children: Q }),
|
|
321
|
-
y
|
|
322
|
-
] })
|
|
323
|
-
] });
|
|
324
|
-
});
|
|
325
|
-
I.displayName = "Modal";
|
|
326
|
-
const ue = ({
|
|
327
|
-
title: l = "Are you sure?",
|
|
328
|
-
prompt: i,
|
|
329
|
-
cancelLabel: d = "Cancel",
|
|
330
|
-
okLabel: o = "OK",
|
|
331
|
-
okRunningLabel: g = "...",
|
|
332
|
-
okColor: m = "black",
|
|
333
|
-
onCancel: f,
|
|
334
|
-
onOk: h,
|
|
335
|
-
customFooter: v,
|
|
336
|
-
formSheet: u = !0
|
|
337
|
-
}) => {
|
|
338
|
-
const j = W(), [x, p] = X("");
|
|
339
|
-
return /* @__PURE__ */ s.jsx(
|
|
340
|
-
I,
|
|
341
|
-
{
|
|
342
|
-
backDropClick: !1,
|
|
343
|
-
buttonsDisabled: x === "running",
|
|
344
|
-
cancelLabel: d,
|
|
345
|
-
footer: v,
|
|
346
|
-
formSheet: u,
|
|
347
|
-
okColor: m,
|
|
348
|
-
okLabel: x === "running" ? g : o,
|
|
349
|
-
testId: "confirmation-modal",
|
|
350
|
-
title: l,
|
|
351
|
-
width: 540,
|
|
352
|
-
onCancel: f,
|
|
353
|
-
onOk: async () => {
|
|
354
|
-
p("running");
|
|
355
|
-
try {
|
|
356
|
-
await (h == null ? void 0 : h(j));
|
|
357
|
-
} catch (N) {
|
|
358
|
-
console.error("Unhandled Promise Rejection. Make sure you catch errors in your onOk handler.", N);
|
|
359
|
-
}
|
|
360
|
-
p("");
|
|
361
|
-
},
|
|
362
|
-
children: /* @__PURE__ */ s.jsx("div", { className: "py-4 leading-9", children: i })
|
|
363
|
-
}
|
|
364
|
-
);
|
|
365
|
-
}, xe = $.create(ue), pe = $.create(() => {
|
|
366
|
-
const { updateRoute: l } = de(), i = $.useModal();
|
|
367
|
-
return /* @__PURE__ */ s.jsx(
|
|
368
|
-
I,
|
|
369
|
-
{
|
|
370
|
-
afterClose: () => {
|
|
371
|
-
l("");
|
|
372
|
-
},
|
|
373
|
-
cancelLabel: "",
|
|
374
|
-
okLabel: "Close",
|
|
375
|
-
size: "sm",
|
|
376
|
-
title: "About",
|
|
377
|
-
onOk: () => {
|
|
378
|
-
l(""), i.remove();
|
|
379
|
-
},
|
|
380
|
-
children: /* @__PURE__ */ s.jsxs("div", { className: "mt-3 flex flex-col gap-4", children: [
|
|
381
|
-
/* @__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." }),
|
|
382
|
-
/* @__PURE__ */ s.jsx("p", { children: "At the moment the look and feel follows the current Admin's style to blend in with existing pages. However the system is built in a very flexible way to allow easy updates in the future." }),
|
|
383
|
-
/* @__PURE__ */ s.jsx(G, { className: "-mb-2 mt-4", level: 5, children: "Contents" }),
|
|
384
|
-
/* @__PURE__ */ s.jsxs("p", { children: [
|
|
385
|
-
"The demo uses a mocked list of members — it's ",
|
|
386
|
-
/* @__PURE__ */ s.jsx("strong", { children: "not" }),
|
|
387
|
-
" ",
|
|
388
|
-
"the actual or future design of members in Ghost Admin. Instead, the pages showcase common design patterns like a list and detail, navigation, modals and toasts."
|
|
389
|
-
] })
|
|
390
|
-
] })
|
|
391
|
-
}
|
|
392
|
-
);
|
|
393
|
-
}), fe = { DemoModal: pe };
|
|
394
|
-
export {
|
|
395
|
-
fe as default
|
|
396
|
-
};
|
|
397
|
-
//# sourceMappingURL=modals-1a9ae8b7.mjs.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var __ember_auto_import__;(()=>{var e,r={9589:(e,r,n)=>{const t=n(68125),s=n(78695),o=["id","email","name","note","subscribed_to_emails","complimentary_plan","stripe_customer_id","created_at","deleted_at","labels","tiers"]
|
|
2
|
-
e.exports=(e,r=o.slice())=>{r=r.map((e=>"subscribed"===e?"subscribed_to_emails":e))
|
|
3
|
-
const n=e.map((e=>{e.error&&!r.includes("error")&&r.push("error")
|
|
4
|
-
let n=""
|
|
5
|
-
"string"==typeof e.labels?n=e.labels:Array.isArray(e.labels)&&(n=e.labels.map((e=>"string"==typeof e?e:e.name)).join(","))
|
|
6
|
-
let s=""
|
|
7
|
-
return Array.isArray(e.tiers)&&(s=e.tiers.map((e=>e.name)).join(",")),{id:e.id,email:e.email,name:e.name,note:e.note,subscribed_to_emails:"subscribed"in e?e.subscribed:e.subscribed_to_emails,complimentary_plan:e.comped||e.complimentary_plan,stripe_customer_id:t.get(e,"subscriptions[0].customer.id")||e.stripe_customer_id,created_at:e.created_at,deleted_at:e.deleted_at,labels:n,tiers:s,import_tier:e.import_tier||null,error:e.error||null}}))
|
|
8
|
-
return s.unparse(n,{escapeFormulae:!0,columns:r})}},31048:()=>{},32186:e=>{"use strict"
|
|
9
|
-
e.exports=require("@ember/test-waiters")},38277:(e,r,n)=>{e.exports=function(){var e=_eai_d,r=_eai_r
|
|
10
|
-
function t(e){return e&&e.__esModule?e:Object.assign({default:e},e)}window.emberAutoImportDynamic=function(e){return 1===arguments.length?r("_eai_dyn_"+e):r("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return r("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},e("@sentry/browser",[],(function(){return t(n(51294))})),e("@sentry/core",[],(function(){return t(n(16154))})),e("@sentry/integrations",[],(function(){return t(n(20080))})),e("@sentry/replay",[],(function(){return t(n(51633))})),e("@sentry/utils",[],(function(){return t(n(88414))})),e("@tinybirdco/charts",[],(function(){return t(n(34017))})),e("@tryghost/color-utils",[],(function(){return t(n(86797))})),e("@tryghost/kg-clean-basic-html",[],(function(){return t(n(3414))})),e("@tryghost/kg-converters",[],(function(){return t(n(23075))})),e("@tryghost/limit-service",[],(function(){return t(n(55983))})),e("@tryghost/members-csv/lib/unparse",[],(function(){return t(n(9589))})),e("@tryghost/nql",[],(function(){return t(n(39365))})),e("@tryghost/nql-lang",[],(function(){return t(n(716))})),e("@tryghost/string",[],(function(){return t(n(96107))})),e("@tryghost/timezone-data",[],(function(){return t(n(27019))})),e("animejs/lib/anime.es.js",[],(function(){return t(n(62282))})),e("element-resize-detector",[],(function(){return t(n(29540))})),e("ember-assign-helper/helpers/assign",[],(function(){return t(n(31113))})),e("ember-css-transitions/modifiers/css-transition",["@ember/test-waiters"],(function(){return t(n(95895))})),e("ember-keyboard/helpers/if-key.js",[],(function(){return t(n(10530))})),e("ember-keyboard/helpers/on-key.js",[],(function(){return t(n(13692))})),e("ember-keyboard/modifiers/on-key.js",[],(function(){return t(n(40985))})),e("ember-keyboard/services/keyboard.js",[],(function(){return t(n(89697))})),e("ember-modifier",[],(function(){return t(n(37777))})),e("ember-moment/helpers/-base.js",[],(function(){return t(n(91366))})),e("ember-moment/helpers/is-after.js",[],(function(){return t(n(91461))})),e("ember-moment/helpers/is-before.js",[],(function(){return t(n(61e3))})),e("ember-moment/helpers/is-between.js",[],(function(){return t(n(447))})),e("ember-moment/helpers/is-same-or-after.js",[],(function(){return t(n(7916))})),e("ember-moment/helpers/is-same-or-before.js",[],(function(){return t(n(54351))})),e("ember-moment/helpers/is-same.js",[],(function(){return t(n(64193))})),e("ember-moment/helpers/moment-add.js",[],(function(){return t(n(50080))})),e("ember-moment/helpers/moment-calendar.js",[],(function(){return t(n(96625))})),e("ember-moment/helpers/moment-diff.js",[],(function(){return t(n(85340))})),e("ember-moment/helpers/moment-duration.js",[],(function(){return t(n(42967))})),e("ember-moment/helpers/moment-format.js",[],(function(){return t(n(10536))})),e("ember-moment/helpers/moment-from-now.js",[],(function(){return t(n(706))})),e("ember-moment/helpers/moment-from.js",[],(function(){return t(n(50727))})),e("ember-moment/helpers/moment-subtract.js",[],(function(){return t(n(54651))})),e("ember-moment/helpers/moment-to-date.js",[],(function(){return t(n(81183))})),e("ember-moment/helpers/moment-to-now.js",[],(function(){return t(n(17083))})),e("ember-moment/helpers/moment-to.js",[],(function(){return t(n(84818))})),e("ember-moment/helpers/moment.js",[],(function(){return t(n(41678))})),e("ember-moment/helpers/now.js",[],(function(){return t(n(34980))})),e("ember-moment/helpers/unix.js",[],(function(){return t(n(79272))})),e("ember-moment/helpers/utc.js",[],(function(){return t(n(36022))})),e("ember-moment/services/moment.js",[],(function(){return t(n(39879))})),e("fast-deep-equal",[],(function(){return t(n(25383))})),e("flexsearch",[],(function(){return t(n(12248))})),e("focus-trap",[],(function(){return t(n(39632))})),e("i18n-iso-countries",[],(function(){return t(n(3064))})),e("i18n-iso-countries/langs/en.json",[],(function(){return t(n(95839))})),e("intersection-observer-admin",[],(function(){return t(n(21431))})),e("jose",[],(function(){return t(n(82765))})),e("microdiff",[],(function(){return t(n(59086))})),e("moment-timezone",[],(function(){return t(n(41101))})),e("papaparse",[],(function(){return t(n(78695))})),e("raf-pool",[],(function(){return t(n(60695))})),e("react",[],(function(){return t(n(72854))})),e("react-dom",[],(function(){return t(n(95303))})),e("react-dom/client",[],(function(){return t(n(70816))})),e("semver/functions/coerce",[],(function(){return t(n(18576))})),e("semver/functions/lt",[],(function(){return t(n(32817))})),e("semver/functions/parse",[],(function(){return t(n(47898))})),e("tooltip.js",[],(function(){return t(n(85557))})),e("tracked-built-ins",["ember-tracked-storage-polyfill"],(function(){return t(n(77151))})),e("validator",[],(function(){return t(n(29119))})),e("_eai_dyn_@sentry/browser",[],(function(){return Promise.resolve().then(n.bind(n,51294))}))}()},56857:(e,r,n)=>{var t={"./af":58547,"./af.js":58547,"./ar":28167,"./ar-dz":35298,"./ar-dz.js":35298,"./ar-kw":11314,"./ar-kw.js":11314,"./ar-ly":66455,"./ar-ly.js":66455,"./ar-ma":15998,"./ar-ma.js":15998,"./ar-sa":55388,"./ar-sa.js":55388,"./ar-tn":73358,"./ar-tn.js":73358,"./ar.js":28167,"./az":92367,"./az.js":92367,"./be":9161,"./be.js":9161,"./bg":359,"./bg.js":359,"./bm":32625,"./bm.js":32625,"./bn":52984,"./bn.js":52984,"./bo":87343,"./bo.js":87343,"./br":87948,"./br.js":87948,"./bs":88211,"./bs.js":88211,"./ca":34700,"./ca.js":34700,"./cs":27430,"./cs.js":27430,"./cv":55913,"./cv.js":55913,"./cy":16004,"./cy.js":16004,"./da":26839,"./da.js":26839,"./de":22131,"./de-at":6729,"./de-at.js":6729,"./de-ch":74743,"./de-ch.js":74743,"./de.js":22131,"./dv":14598,"./dv.js":14598,"./el":38737,"./el.js":38737,"./en-SG":94978,"./en-SG.js":94978,"./en-au":22606,"./en-au.js":22606,"./en-ca":60052,"./en-ca.js":60052,"./en-gb":17305,"./en-gb.js":17305,"./en-ie":76390,"./en-ie.js":76390,"./en-il":89549,"./en-il.js":89549,"./en-nz":67584,"./en-nz.js":67584,"./eo":24408,"./eo.js":24408,"./es":45644,"./es-do":21888,"./es-do.js":21888,"./es-us":23537,"./es-us.js":23537,"./es.js":45644,"./et":27257,"./et.js":27257,"./eu":57002,"./eu.js":57002,"./fa":90241,"./fa.js":90241,"./fi":74009,"./fi.js":74009,"./fo":81267,"./fo.js":81267,"./fr":71160,"./fr-ca":39433,"./fr-ca.js":39433,"./fr-ch":20130,"./fr-ch.js":20130,"./fr.js":71160,"./fy":20553,"./fy.js":20553,"./ga":18232,"./ga.js":18232,"./gd":33771,"./gd.js":33771,"./gl":99747,"./gl.js":99747,"./gom-latn":80289,"./gom-latn.js":80289,"./gu":148,"./gu.js":148,"./he":68247,"./he.js":68247,"./hi":39835,"./hi.js":39835,"./hr":69734,"./hr.js":69734,"./hu":40999,"./hu.js":40999,"./hy-am":95002,"./hy-am.js":95002,"./id":23021,"./id.js":23021,"./is":96232,"./is.js":96232,"./it":15581,"./it-ch":4809,"./it-ch.js":4809,"./it.js":15581,"./ja":45981,"./ja.js":45981,"./jv":12568,"./jv.js":12568,"./ka":17924,"./ka.js":17924,"./kk":1062,"./kk.js":1062,"./km":65456,"./km.js":65456,"./kn":15817,"./kn.js":15817,"./ko":45306,"./ko.js":45306,"./ku":39016,"./ku.js":39016,"./ky":71308,"./ky.js":71308,"./lb":67330,"./lb.js":67330,"./lo":18949,"./lo.js":18949,"./lt":58804,"./lt.js":58804,"./lv":47006,"./lv.js":47006,"./me":83346,"./me.js":83346,"./mi":630,"./mi.js":630,"./mk":88876,"./mk.js":88876,"./ml":86841,"./ml.js":86841,"./mn":93847,"./mn.js":93847,"./mr":57515,"./mr.js":57515,"./ms":51844,"./ms-my":44391,"./ms-my.js":44391,"./ms.js":51844,"./mt":81969,"./mt.js":81969,"./my":34982,"./my.js":34982,"./nb":41632,"./nb.js":41632,"./ne":81781,"./ne.js":81781,"./nl":14910,"./nl-be":72506,"./nl-be.js":72506,"./nl.js":14910,"./nn":12980,"./nn.js":12980,"./pa-in":33791,"./pa-in.js":33791,"./pl":1872,"./pl.js":1872,"./pt":9064,"./pt-br":85273,"./pt-br.js":85273,"./pt.js":9064,"./ro":63167,"./ro.js":63167,"./ru":28649,"./ru.js":28649,"./sd":14823,"./sd.js":14823,"./se":90672,"./se.js":90672,"./si":26244,"./si.js":26244,"./sk":40654,"./sk.js":40654,"./sl":44335,"./sl.js":44335,"./sq":79116,"./sq.js":79116,"./sr":60693,"./sr-cyrl":1436,"./sr-cyrl.js":1436,"./sr.js":60693,"./ss":51734,"./ss.js":51734,"./sv":37945,"./sv.js":37945,"./sw":41514,"./sw.js":41514,"./ta":1991,"./ta.js":1991,"./te":95011,"./te.js":95011,"./tet":19463,"./tet.js":19463,"./tg":43109,"./tg.js":43109,"./th":97144,"./th.js":97144,"./tl-ph":70401,"./tl-ph.js":70401,"./tlh":26678,"./tlh.js":26678,"./tr":28682,"./tr.js":28682,"./tzl":59084,"./tzl.js":59084,"./tzm":64307,"./tzm-latn":68869,"./tzm-latn.js":68869,"./tzm.js":64307,"./ug-cn":78812,"./ug-cn.js":78812,"./uk":25812,"./uk.js":25812,"./ur":25411,"./ur.js":25411,"./uz":59435,"./uz-latn":94589,"./uz-latn.js":94589,"./uz.js":59435,"./vi":50569,"./vi.js":50569,"./x-pseudo":85241,"./x-pseudo.js":85241,"./yo":96972,"./yo.js":96972,"./zh-cn":18422,"./zh-cn.js":18422,"./zh-hk":84106,"./zh-hk.js":84106,"./zh-tw":69362,"./zh-tw.js":69362}
|
|
11
|
-
function s(e){var r=o(e)
|
|
12
|
-
return n(r)}function o(e){if(!n.o(t,e)){var r=new Error("Cannot find module '"+e+"'")
|
|
13
|
-
throw r.code="MODULE_NOT_FOUND",r}return t[e]}s.keys=function(){return Object.keys(t)},s.resolve=o,e.exports=s,s.id=56857},80032:e=>{"use strict"
|
|
14
|
-
e.exports=require("ember-tracked-storage-polyfill")},84480:function(e,r){window._eai_r=require,window._eai_d=define},86625:()=>{}},n={}
|
|
15
|
-
function t(e){var s=n[e]
|
|
16
|
-
if(void 0!==s)return s.exports
|
|
17
|
-
var o=n[e]={id:e,loaded:!1,exports:{}}
|
|
18
|
-
return r[e].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}t.m=r,t.c=n,e=[],t.O=(r,n,s,o)=>{if(!n){var i=1/0
|
|
19
|
-
for(c=0;c<e.length;c++){for(var[n,s,o]=e[c],u=!0,m=0;m<n.length;m++)(!1&o||i>=o)&&Object.keys(t.O).every((e=>t.O[e](n[m])))?n.splice(m--,1):(u=!1,o<i&&(i=o))
|
|
20
|
-
if(u){e.splice(c--,1)
|
|
21
|
-
var a=s()
|
|
22
|
-
void 0!==a&&(r=a)}}return r}o=o||0
|
|
23
|
-
for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1]
|
|
24
|
-
e[c]=[n,s,o]},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e
|
|
25
|
-
return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={524:0}
|
|
26
|
-
t.O.j=r=>0===e[r]
|
|
27
|
-
var r=(r,n)=>{var s,o,[i,u,m]=n,a=0
|
|
28
|
-
if(i.some((r=>0!==e[r]))){for(s in u)t.o(u,s)&&(t.m[s]=u[s])
|
|
29
|
-
if(m)var c=m(t)}for(r&&r(n);a<i.length;a++)o=i[a],t.o(e,o)&&e[o]&&e[o][0](),e[o]=0
|
|
30
|
-
return t.O(c)},n=globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]
|
|
31
|
-
n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))})(),t.O(void 0,[713],(()=>t(t.s=84480)))
|
|
32
|
-
var s=t.O(void 0,[713],(()=>t(t.s=38277)))
|
|
33
|
-
s=t.O(s),__ember_auto_import__=s})()
|
|
34
|
-
|
|
35
|
-
//# sourceMappingURL=chunk.524.5710919eb507b9a81166.map
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var __ember_auto_import__;(()=>{var e,r={9589:(e,r,t)=>{const n=t(68125),s=t(78695),o=["id","email","name","note","subscribed_to_emails","complimentary_plan","stripe_customer_id","created_at","deleted_at","labels","tiers"]
|
|
2
|
-
e.exports=(e,r=o.slice())=>{r=r.map((e=>"subscribed"===e?"subscribed_to_emails":e))
|
|
3
|
-
const t=e.map((e=>{e.error&&!r.includes("error")&&r.push("error")
|
|
4
|
-
let t=""
|
|
5
|
-
"string"==typeof e.labels?t=e.labels:Array.isArray(e.labels)&&(t=e.labels.map((e=>"string"==typeof e?e:e.name)).join(","))
|
|
6
|
-
let s=""
|
|
7
|
-
return Array.isArray(e.tiers)&&(s=e.tiers.map((e=>e.name)).join(",")),{id:e.id,email:e.email,name:e.name,note:e.note,subscribed_to_emails:"subscribed"in e?e.subscribed:e.subscribed_to_emails,complimentary_plan:e.comped||e.complimentary_plan,stripe_customer_id:n.get(e,"subscriptions[0].customer.id")||e.stripe_customer_id,created_at:e.created_at,deleted_at:e.deleted_at,labels:t,tiers:s,import_tier:e.import_tier||null,error:e.error||null}}))
|
|
8
|
-
return s.unparse(t,{escapeFormulae:!0,columns:r})}},11227:(e,r,t)=>{e.exports=function(){_eai_d
|
|
9
|
-
var e=_eai_r
|
|
10
|
-
window.emberAutoImportDynamic=function(r){return 1===arguments.length?e("_eai_dyn_"+r):e("_eai_dynt_"+r)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(r){return e("_eai_sync_"+r)(Array.prototype.slice.call(arguments,1))},t(38277)}()},31048:()=>{},32186:e=>{"use strict"
|
|
11
|
-
e.exports=require("@ember/test-waiters")},38277:(e,r,t)=>{e.exports=function(){var e=_eai_d,r=_eai_r
|
|
12
|
-
function n(e){return e&&e.__esModule?e:Object.assign({default:e},e)}window.emberAutoImportDynamic=function(e){return 1===arguments.length?r("_eai_dyn_"+e):r("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return r("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},e("@sentry/browser",EAI_DISCOVERED_EXTERNALS("@sentry/browser"),(function(){return n(t(51294))})),e("@sentry/core",EAI_DISCOVERED_EXTERNALS("@sentry/core"),(function(){return n(t(16154))})),e("@sentry/integrations",EAI_DISCOVERED_EXTERNALS("@sentry/integrations"),(function(){return n(t(20080))})),e("@sentry/replay",EAI_DISCOVERED_EXTERNALS("@sentry/replay"),(function(){return n(t(51633))})),e("@sentry/utils",EAI_DISCOVERED_EXTERNALS("@sentry/utils"),(function(){return n(t(88414))})),e("@tinybirdco/charts",EAI_DISCOVERED_EXTERNALS("@tinybirdco/charts"),(function(){return n(t(34017))})),e("@tryghost/color-utils",EAI_DISCOVERED_EXTERNALS("@tryghost/color-utils"),(function(){return n(t(86797))})),e("@tryghost/kg-clean-basic-html",EAI_DISCOVERED_EXTERNALS("@tryghost/kg-clean-basic-html"),(function(){return n(t(3414))})),e("@tryghost/kg-converters",EAI_DISCOVERED_EXTERNALS("@tryghost/kg-converters"),(function(){return n(t(23075))})),e("@tryghost/limit-service",EAI_DISCOVERED_EXTERNALS("@tryghost/limit-service"),(function(){return n(t(55983))})),e("@tryghost/members-csv/lib/unparse",EAI_DISCOVERED_EXTERNALS("@tryghost/members-csv/lib/unparse"),(function(){return n(t(9589))})),e("@tryghost/nql",EAI_DISCOVERED_EXTERNALS("@tryghost/nql"),(function(){return n(t(39365))})),e("@tryghost/nql-lang",EAI_DISCOVERED_EXTERNALS("@tryghost/nql-lang"),(function(){return n(t(716))})),e("@tryghost/string",EAI_DISCOVERED_EXTERNALS("@tryghost/string"),(function(){return n(t(96107))})),e("@tryghost/timezone-data",EAI_DISCOVERED_EXTERNALS("@tryghost/timezone-data"),(function(){return n(t(27019))})),e("animejs/lib/anime.es.js",EAI_DISCOVERED_EXTERNALS("animejs/lib/anime.es.js"),(function(){return n(t(62282))})),e("element-resize-detector",EAI_DISCOVERED_EXTERNALS("element-resize-detector"),(function(){return n(t(29540))})),e("ember-assign-helper/helpers/assign",EAI_DISCOVERED_EXTERNALS("ember-assign-helper/helpers/assign"),(function(){return n(t(31113))})),e("ember-css-transitions/modifiers/css-transition",EAI_DISCOVERED_EXTERNALS("ember-css-transitions/modifiers/css-transition"),(function(){return n(t(95895))})),e("ember-keyboard/helpers/if-key.js",EAI_DISCOVERED_EXTERNALS("ember-keyboard/helpers/if-key.js"),(function(){return n(t(10530))})),e("ember-keyboard/helpers/on-key.js",EAI_DISCOVERED_EXTERNALS("ember-keyboard/helpers/on-key.js"),(function(){return n(t(13692))})),e("ember-keyboard/modifiers/on-key.js",EAI_DISCOVERED_EXTERNALS("ember-keyboard/modifiers/on-key.js"),(function(){return n(t(40985))})),e("ember-keyboard/services/keyboard.js",EAI_DISCOVERED_EXTERNALS("ember-keyboard/services/keyboard.js"),(function(){return n(t(89697))})),e("ember-modifier",EAI_DISCOVERED_EXTERNALS("ember-modifier"),(function(){return n(t(37777))})),e("ember-moment/helpers/-base.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/-base.js"),(function(){return n(t(91366))})),e("ember-moment/helpers/is-after.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-after.js"),(function(){return n(t(91461))})),e("ember-moment/helpers/is-before.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-before.js"),(function(){return n(t(61e3))})),e("ember-moment/helpers/is-between.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-between.js"),(function(){return n(t(447))})),e("ember-moment/helpers/is-same-or-after.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-same-or-after.js"),(function(){return n(t(7916))})),e("ember-moment/helpers/is-same-or-before.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-same-or-before.js"),(function(){return n(t(54351))})),e("ember-moment/helpers/is-same.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/is-same.js"),(function(){return n(t(64193))})),e("ember-moment/helpers/moment-add.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-add.js"),(function(){return n(t(50080))})),e("ember-moment/helpers/moment-calendar.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-calendar.js"),(function(){return n(t(96625))})),e("ember-moment/helpers/moment-diff.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-diff.js"),(function(){return n(t(85340))})),e("ember-moment/helpers/moment-duration.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-duration.js"),(function(){return n(t(42967))})),e("ember-moment/helpers/moment-format.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-format.js"),(function(){return n(t(10536))})),e("ember-moment/helpers/moment-from-now.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-from-now.js"),(function(){return n(t(706))})),e("ember-moment/helpers/moment-from.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-from.js"),(function(){return n(t(50727))})),e("ember-moment/helpers/moment-subtract.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-subtract.js"),(function(){return n(t(54651))})),e("ember-moment/helpers/moment-to-date.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-to-date.js"),(function(){return n(t(81183))})),e("ember-moment/helpers/moment-to-now.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-to-now.js"),(function(){return n(t(17083))})),e("ember-moment/helpers/moment-to.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment-to.js"),(function(){return n(t(84818))})),e("ember-moment/helpers/moment.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/moment.js"),(function(){return n(t(41678))})),e("ember-moment/helpers/now.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/now.js"),(function(){return n(t(34980))})),e("ember-moment/helpers/unix.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/unix.js"),(function(){return n(t(79272))})),e("ember-moment/helpers/utc.js",EAI_DISCOVERED_EXTERNALS("ember-moment/helpers/utc.js"),(function(){return n(t(36022))})),e("ember-moment/services/moment.js",EAI_DISCOVERED_EXTERNALS("ember-moment/services/moment.js"),(function(){return n(t(39879))})),e("fast-deep-equal",EAI_DISCOVERED_EXTERNALS("fast-deep-equal"),(function(){return n(t(25383))})),e("flexsearch",EAI_DISCOVERED_EXTERNALS("flexsearch"),(function(){return n(t(12248))})),e("focus-trap",EAI_DISCOVERED_EXTERNALS("focus-trap"),(function(){return n(t(39632))})),e("i18n-iso-countries",EAI_DISCOVERED_EXTERNALS("i18n-iso-countries"),(function(){return n(t(3064))})),e("i18n-iso-countries/langs/en.json",EAI_DISCOVERED_EXTERNALS("i18n-iso-countries/langs/en.json"),(function(){return n(t(95839))})),e("intersection-observer-admin",EAI_DISCOVERED_EXTERNALS("intersection-observer-admin"),(function(){return n(t(21431))})),e("jose",EAI_DISCOVERED_EXTERNALS("jose"),(function(){return n(t(82765))})),e("microdiff",EAI_DISCOVERED_EXTERNALS("microdiff"),(function(){return n(t(59086))})),e("moment-timezone",EAI_DISCOVERED_EXTERNALS("moment-timezone"),(function(){return n(t(41101))})),e("papaparse",EAI_DISCOVERED_EXTERNALS("papaparse"),(function(){return n(t(78695))})),e("raf-pool",EAI_DISCOVERED_EXTERNALS("raf-pool"),(function(){return n(t(60695))})),e("react",EAI_DISCOVERED_EXTERNALS("react"),(function(){return n(t(72854))})),e("react-dom",EAI_DISCOVERED_EXTERNALS("react-dom"),(function(){return n(t(95303))})),e("react-dom/client",EAI_DISCOVERED_EXTERNALS("react-dom/client"),(function(){return n(t(70816))})),e("semver/functions/coerce",EAI_DISCOVERED_EXTERNALS("semver/functions/coerce"),(function(){return n(t(18576))})),e("semver/functions/lt",EAI_DISCOVERED_EXTERNALS("semver/functions/lt"),(function(){return n(t(32817))})),e("semver/functions/parse",EAI_DISCOVERED_EXTERNALS("semver/functions/parse"),(function(){return n(t(47898))})),e("tooltip.js",EAI_DISCOVERED_EXTERNALS("tooltip.js"),(function(){return n(t(85557))})),e("tracked-built-ins",EAI_DISCOVERED_EXTERNALS("tracked-built-ins"),(function(){return n(t(77151))})),e("validator",EAI_DISCOVERED_EXTERNALS("validator"),(function(){return n(t(29119))})),e("_eai_dyn_@sentry/browser",[],(function(){return Promise.resolve().then(t.bind(t,51294))}))}()},56857:(e,r,t)=>{var n={"./af":58547,"./af.js":58547,"./ar":28167,"./ar-dz":35298,"./ar-dz.js":35298,"./ar-kw":11314,"./ar-kw.js":11314,"./ar-ly":66455,"./ar-ly.js":66455,"./ar-ma":15998,"./ar-ma.js":15998,"./ar-sa":55388,"./ar-sa.js":55388,"./ar-tn":73358,"./ar-tn.js":73358,"./ar.js":28167,"./az":92367,"./az.js":92367,"./be":9161,"./be.js":9161,"./bg":359,"./bg.js":359,"./bm":32625,"./bm.js":32625,"./bn":52984,"./bn.js":52984,"./bo":87343,"./bo.js":87343,"./br":87948,"./br.js":87948,"./bs":88211,"./bs.js":88211,"./ca":34700,"./ca.js":34700,"./cs":27430,"./cs.js":27430,"./cv":55913,"./cv.js":55913,"./cy":16004,"./cy.js":16004,"./da":26839,"./da.js":26839,"./de":22131,"./de-at":6729,"./de-at.js":6729,"./de-ch":74743,"./de-ch.js":74743,"./de.js":22131,"./dv":14598,"./dv.js":14598,"./el":38737,"./el.js":38737,"./en-SG":94978,"./en-SG.js":94978,"./en-au":22606,"./en-au.js":22606,"./en-ca":60052,"./en-ca.js":60052,"./en-gb":17305,"./en-gb.js":17305,"./en-ie":76390,"./en-ie.js":76390,"./en-il":89549,"./en-il.js":89549,"./en-nz":67584,"./en-nz.js":67584,"./eo":24408,"./eo.js":24408,"./es":45644,"./es-do":21888,"./es-do.js":21888,"./es-us":23537,"./es-us.js":23537,"./es.js":45644,"./et":27257,"./et.js":27257,"./eu":57002,"./eu.js":57002,"./fa":90241,"./fa.js":90241,"./fi":74009,"./fi.js":74009,"./fo":81267,"./fo.js":81267,"./fr":71160,"./fr-ca":39433,"./fr-ca.js":39433,"./fr-ch":20130,"./fr-ch.js":20130,"./fr.js":71160,"./fy":20553,"./fy.js":20553,"./ga":18232,"./ga.js":18232,"./gd":33771,"./gd.js":33771,"./gl":99747,"./gl.js":99747,"./gom-latn":80289,"./gom-latn.js":80289,"./gu":148,"./gu.js":148,"./he":68247,"./he.js":68247,"./hi":39835,"./hi.js":39835,"./hr":69734,"./hr.js":69734,"./hu":40999,"./hu.js":40999,"./hy-am":95002,"./hy-am.js":95002,"./id":23021,"./id.js":23021,"./is":96232,"./is.js":96232,"./it":15581,"./it-ch":4809,"./it-ch.js":4809,"./it.js":15581,"./ja":45981,"./ja.js":45981,"./jv":12568,"./jv.js":12568,"./ka":17924,"./ka.js":17924,"./kk":1062,"./kk.js":1062,"./km":65456,"./km.js":65456,"./kn":15817,"./kn.js":15817,"./ko":45306,"./ko.js":45306,"./ku":39016,"./ku.js":39016,"./ky":71308,"./ky.js":71308,"./lb":67330,"./lb.js":67330,"./lo":18949,"./lo.js":18949,"./lt":58804,"./lt.js":58804,"./lv":47006,"./lv.js":47006,"./me":83346,"./me.js":83346,"./mi":630,"./mi.js":630,"./mk":88876,"./mk.js":88876,"./ml":86841,"./ml.js":86841,"./mn":93847,"./mn.js":93847,"./mr":57515,"./mr.js":57515,"./ms":51844,"./ms-my":44391,"./ms-my.js":44391,"./ms.js":51844,"./mt":81969,"./mt.js":81969,"./my":34982,"./my.js":34982,"./nb":41632,"./nb.js":41632,"./ne":81781,"./ne.js":81781,"./nl":14910,"./nl-be":72506,"./nl-be.js":72506,"./nl.js":14910,"./nn":12980,"./nn.js":12980,"./pa-in":33791,"./pa-in.js":33791,"./pl":1872,"./pl.js":1872,"./pt":9064,"./pt-br":85273,"./pt-br.js":85273,"./pt.js":9064,"./ro":63167,"./ro.js":63167,"./ru":28649,"./ru.js":28649,"./sd":14823,"./sd.js":14823,"./se":90672,"./se.js":90672,"./si":26244,"./si.js":26244,"./sk":40654,"./sk.js":40654,"./sl":44335,"./sl.js":44335,"./sq":79116,"./sq.js":79116,"./sr":60693,"./sr-cyrl":1436,"./sr-cyrl.js":1436,"./sr.js":60693,"./ss":51734,"./ss.js":51734,"./sv":37945,"./sv.js":37945,"./sw":41514,"./sw.js":41514,"./ta":1991,"./ta.js":1991,"./te":95011,"./te.js":95011,"./tet":19463,"./tet.js":19463,"./tg":43109,"./tg.js":43109,"./th":97144,"./th.js":97144,"./tl-ph":70401,"./tl-ph.js":70401,"./tlh":26678,"./tlh.js":26678,"./tr":28682,"./tr.js":28682,"./tzl":59084,"./tzl.js":59084,"./tzm":64307,"./tzm-latn":68869,"./tzm-latn.js":68869,"./tzm.js":64307,"./ug-cn":78812,"./ug-cn.js":78812,"./uk":25812,"./uk.js":25812,"./ur":25411,"./ur.js":25411,"./uz":59435,"./uz-latn":94589,"./uz-latn.js":94589,"./uz.js":59435,"./vi":50569,"./vi.js":50569,"./x-pseudo":85241,"./x-pseudo.js":85241,"./yo":96972,"./yo.js":96972,"./zh-cn":18422,"./zh-cn.js":18422,"./zh-hk":84106,"./zh-hk.js":84106,"./zh-tw":69362,"./zh-tw.js":69362}
|
|
13
|
-
function s(e){var r=o(e)
|
|
14
|
-
return t(r)}function o(e){if(!t.o(n,e)){var r=new Error("Cannot find module '"+e+"'")
|
|
15
|
-
throw r.code="MODULE_NOT_FOUND",r}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=56857},80032:e=>{"use strict"
|
|
16
|
-
e.exports=require("ember-tracked-storage-polyfill")},84480:function(e,r){window._eai_r=require,window._eai_d=define},86625:()=>{}},t={}
|
|
17
|
-
function n(e){var s=t[e]
|
|
18
|
-
if(void 0!==s)return s.exports
|
|
19
|
-
var o=t[e]={id:e,loaded:!1,exports:{}}
|
|
20
|
-
return r[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=r,n.c=t,e=[],n.O=(r,t,s,o)=>{if(!t){var m=1/0
|
|
21
|
-
for(u=0;u<e.length;u++){for(var[t,s,o]=e[u],i=!0,E=0;E<t.length;E++)(!1&o||m>=o)&&Object.keys(n.O).every((e=>n.O[e](t[E])))?t.splice(E--,1):(i=!1,o<m&&(m=o))
|
|
22
|
-
if(i){e.splice(u--,1)
|
|
23
|
-
var a=s()
|
|
24
|
-
void 0!==a&&(r=a)}}return r}o=o||0
|
|
25
|
-
for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1]
|
|
26
|
-
e[u]=[t,s,o]},n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e
|
|
27
|
-
return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={524:0,582:0}
|
|
28
|
-
n.O.j=r=>0===e[r]
|
|
29
|
-
var r=(r,t)=>{var s,o,[m,i,E]=t,a=0
|
|
30
|
-
if(m.some((r=>0!==e[r]))){for(s in i)n.o(i,s)&&(n.m[s]=i[s])
|
|
31
|
-
if(E)var u=E(n)}for(r&&r(t);a<m.length;a++)o=m[a],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0
|
|
32
|
-
return n.O(u)},t=globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]
|
|
33
|
-
t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),n.O(void 0,[713],(()=>n(n.s=84480)))
|
|
34
|
-
var s=n.O(void 0,[713],(()=>n(n.s=11227)))
|
|
35
|
-
s=n.O(s),__ember_auto_import__=s})()
|
|
36
|
-
|
|
37
|
-
//# sourceMappingURL=chunk.582.c8cb99b85cfa13fc7df1.map
|