@ampless/admin 1.0.0-alpha.75 → 1.0.0-alpha.77
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/dist/{chunk-LZHJTCRU.js → chunk-6MDPOMKE.js} +41 -32
- package/dist/{chunk-RL6EOFCU.js → chunk-IJVACP4G.js} +1 -1
- package/dist/{chunk-AKH24LFB.js → chunk-JUNHTZDL.js} +3 -3
- package/dist/{chunk-AKQAEPUJ.js → chunk-WXUHQNZB.js} +3 -3
- package/dist/components/edit-post-view.d.ts +5 -5
- package/dist/components/edit-post-view.js +2 -2
- package/dist/components/index.d.ts +11 -10
- package/dist/components/index.js +2 -2
- package/dist/components/new-post-view.d.ts +5 -5
- package/dist/components/new-post-view.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/index.d.ts +18 -19
- package/dist/pages/index.js +8 -8
- package/package.json +4 -4
|
@@ -663,7 +663,7 @@ function revisionAsPost(rev) {
|
|
|
663
663
|
function PostHistoryPanel({
|
|
664
664
|
postId,
|
|
665
665
|
onRestore,
|
|
666
|
-
|
|
666
|
+
previewEndpoint = "/admin/preview"
|
|
667
667
|
}) {
|
|
668
668
|
const t = useT();
|
|
669
669
|
const config = getAdminCmsConfig();
|
|
@@ -677,18 +677,28 @@ function PostHistoryPanel({
|
|
|
677
677
|
const [nextToken, setNextToken] = useState3(void 0);
|
|
678
678
|
const [selected, setSelected] = useState3(null);
|
|
679
679
|
const [previewHtml, setPreviewHtml] = useState3("");
|
|
680
|
+
const selectedHistoryId = selected?.postHistoryId;
|
|
681
|
+
const selectedFormat = selected?.format;
|
|
680
682
|
useEffect3(() => {
|
|
681
|
-
if (!selected
|
|
683
|
+
if (!selected) return;
|
|
684
|
+
if (selected.format === "static") return;
|
|
682
685
|
const ctrl = new AbortController();
|
|
683
|
-
|
|
686
|
+
fetch(previewEndpoint, {
|
|
687
|
+
method: "POST",
|
|
688
|
+
headers: { "Content-Type": "application/json" },
|
|
689
|
+
body: JSON.stringify(revisionAsPost(selected)),
|
|
690
|
+
signal: ctrl.signal
|
|
691
|
+
}).then((r) => {
|
|
692
|
+
if (!r.ok) throw new Error(`preview ${r.status}`);
|
|
693
|
+
return r.text();
|
|
694
|
+
}).then((html) => {
|
|
684
695
|
if (!ctrl.signal.aborted) setPreviewHtml(html);
|
|
685
696
|
}).catch((err) => {
|
|
686
|
-
if (
|
|
687
|
-
|
|
688
|
-
}
|
|
697
|
+
if (ctrl.signal.aborted) return;
|
|
698
|
+
console.error("[ampless admin] revision preview fetch failed:", err);
|
|
689
699
|
});
|
|
690
700
|
return () => ctrl.abort();
|
|
691
|
-
}, [
|
|
701
|
+
}, [selectedHistoryId, selectedFormat, previewEndpoint]);
|
|
692
702
|
const loadPage = useCallback(
|
|
693
703
|
async (token) => {
|
|
694
704
|
setLoading(true);
|
|
@@ -805,7 +815,7 @@ function PostHistoryPanel({
|
|
|
805
815
|
/* @__PURE__ */ jsx6("span", { className: "font-mono", children: selected.slug })
|
|
806
816
|
] })
|
|
807
817
|
] }),
|
|
808
|
-
selected.format === "static" ? /* @__PURE__ */ jsx6("p", { className: "rounded-md bg-amber-50 p-2 text-xs text-amber-700 dark:bg-amber-950 dark:text-amber-400", children: t("posts.history.staticCaveat") }) :
|
|
818
|
+
selected.format === "static" ? /* @__PURE__ */ jsx6("p", { className: "rounded-md bg-amber-50 p-2 text-xs text-amber-700 dark:bg-amber-950 dark:text-amber-400", children: t("posts.history.staticCaveat") }) : /* @__PURE__ */ jsx6(
|
|
809
819
|
"iframe",
|
|
810
820
|
{
|
|
811
821
|
title: "revision-preview",
|
|
@@ -813,11 +823,7 @@ function PostHistoryPanel({
|
|
|
813
823
|
sandbox: "allow-scripts",
|
|
814
824
|
className: "prose prose-neutral dark:prose-invert max-w-none min-h-[300px] w-full rounded-md border text-sm"
|
|
815
825
|
}
|
|
816
|
-
)
|
|
817
|
-
"Preview unavailable: pass ",
|
|
818
|
-
/* @__PURE__ */ jsx6("code", { children: "renderPreviewAction" }),
|
|
819
|
-
" prop from the template's server action."
|
|
820
|
-
] })
|
|
826
|
+
)
|
|
821
827
|
] })
|
|
822
828
|
] })
|
|
823
829
|
] });
|
|
@@ -1290,7 +1296,7 @@ function formatDraftTime(epochMs, timezone, locale) {
|
|
|
1290
1296
|
return d.toLocaleString();
|
|
1291
1297
|
}
|
|
1292
1298
|
}
|
|
1293
|
-
function PostForm({ post,
|
|
1299
|
+
function PostForm({ post, previewEndpoint = "/admin/preview" }) {
|
|
1294
1300
|
const router = useRouter();
|
|
1295
1301
|
const t = useT();
|
|
1296
1302
|
const isEdit = !!post;
|
|
@@ -1587,16 +1593,23 @@ function PostForm({ post, renderPreviewAction }) {
|
|
|
1587
1593
|
tags: parseTags(tagsInput)
|
|
1588
1594
|
};
|
|
1589
1595
|
useEffect4(() => {
|
|
1590
|
-
if (view !== "preview"
|
|
1596
|
+
if (view !== "preview") return;
|
|
1591
1597
|
if (format === "static") return;
|
|
1592
1598
|
const ctrl = new AbortController();
|
|
1593
1599
|
const tid = window.setTimeout(() => {
|
|
1594
|
-
|
|
1600
|
+
fetch(previewEndpoint, {
|
|
1601
|
+
method: "POST",
|
|
1602
|
+
headers: { "Content-Type": "application/json" },
|
|
1603
|
+
body: JSON.stringify(previewPost),
|
|
1604
|
+
signal: ctrl.signal
|
|
1605
|
+
}).then((r) => {
|
|
1606
|
+
if (!r.ok) throw new Error(`preview ${r.status}`);
|
|
1607
|
+
return r.text();
|
|
1608
|
+
}).then((html) => {
|
|
1595
1609
|
if (!ctrl.signal.aborted) setPreviewHtml(html);
|
|
1596
1610
|
}).catch((err) => {
|
|
1597
|
-
if (
|
|
1598
|
-
|
|
1599
|
-
}
|
|
1611
|
+
if (ctrl.signal.aborted) return;
|
|
1612
|
+
console.error("[ampless admin] preview fetch failed:", err);
|
|
1600
1613
|
});
|
|
1601
1614
|
}, 250);
|
|
1602
1615
|
return () => {
|
|
@@ -1605,7 +1618,7 @@ function PostForm({ post, renderPreviewAction }) {
|
|
|
1605
1618
|
};
|
|
1606
1619
|
}, [
|
|
1607
1620
|
view,
|
|
1608
|
-
|
|
1621
|
+
previewEndpoint,
|
|
1609
1622
|
format,
|
|
1610
1623
|
title,
|
|
1611
1624
|
slug,
|
|
@@ -1648,12 +1661,12 @@ function PostForm({ post, renderPreviewAction }) {
|
|
|
1648
1661
|
] }),
|
|
1649
1662
|
excerpt && /* @__PURE__ */ jsx8("p", { className: "mt-3 text-base text-muted-foreground", children: excerpt })
|
|
1650
1663
|
] }),
|
|
1651
|
-
format === "static" ? /* @__PURE__ */ jsx8("p", { className: "text-sm text-muted-foreground", children: t("posts.form.static.previewHint") }) :
|
|
1652
|
-
// Phase 7: preview is
|
|
1653
|
-
// `
|
|
1654
|
-
// ReactNode) + `ampless.publicPostScriptsForPage(
|
|
1655
|
-
// can run server-side. The result is injected
|
|
1656
|
-
// iframe with sandbox=`allow-scripts` only (no
|
|
1664
|
+
format === "static" ? /* @__PURE__ */ jsx8("p", { className: "text-sm text-muted-foreground", children: t("posts.form.static.previewHint") }) : (
|
|
1665
|
+
// Phase 7: preview HTML is fetched from the template's
|
|
1666
|
+
// `/admin/preview` Route Handler so `ampless.renderBody`
|
|
1667
|
+
// (async ReactNode) + `ampless.publicPostScriptsForPage(
|
|
1668
|
+
// [draft])` can run server-side. The result is injected
|
|
1669
|
+
// into an iframe with sandbox=`allow-scripts` only (no
|
|
1657
1670
|
// `allow-same-origin`) so 3rd-party widget scripts
|
|
1658
1671
|
// (YouTube iframes, x.com widgets.js) can hydrate without
|
|
1659
1672
|
// crossing the admin's same-origin boundary.
|
|
@@ -1666,11 +1679,7 @@ function PostForm({ post, renderPreviewAction }) {
|
|
|
1666
1679
|
className: "prose prose-neutral dark:prose-invert max-w-none min-h-[400px] w-full rounded-md border"
|
|
1667
1680
|
}
|
|
1668
1681
|
)
|
|
1669
|
-
)
|
|
1670
|
-
"Preview unavailable: pass ",
|
|
1671
|
-
/* @__PURE__ */ jsx8("code", { children: "renderPreviewAction" }),
|
|
1672
|
-
" prop from the template's server action."
|
|
1673
|
-
] }),
|
|
1682
|
+
),
|
|
1674
1683
|
previewPost.tags && previewPost.tags.length > 0 && /* @__PURE__ */ jsx8("div", { className: "flex flex-wrap gap-2 border-t pt-4 text-sm", children: previewPost.tags.map((tag) => /* @__PURE__ */ jsxs8(
|
|
1675
1684
|
"span",
|
|
1676
1685
|
{
|
|
@@ -1899,7 +1908,7 @@ function PostForm({ post, renderPreviewAction }) {
|
|
|
1899
1908
|
{
|
|
1900
1909
|
postId: post.postId,
|
|
1901
1910
|
onRestore: restoreRevision,
|
|
1902
|
-
|
|
1911
|
+
previewEndpoint
|
|
1903
1912
|
}
|
|
1904
1913
|
)
|
|
1905
1914
|
] })
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
PostForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6MDPOMKE.js";
|
|
5
5
|
import {
|
|
6
6
|
useT
|
|
7
7
|
} from "./chunk-DUSEHGSV.js";
|
|
8
8
|
|
|
9
9
|
// src/components/new-post-view.tsx
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
function NewPostPage({
|
|
11
|
+
function NewPostPage({ previewEndpoint }) {
|
|
12
12
|
const t = useT();
|
|
13
13
|
return /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-7xl p-4 md:p-8", children: [
|
|
14
14
|
/* @__PURE__ */ jsx("h1", { className: "mb-6 text-2xl font-bold md:mb-8 md:text-3xl", children: t("posts.form.newTitle") }),
|
|
15
|
-
/* @__PURE__ */ jsx(PostForm, {
|
|
15
|
+
/* @__PURE__ */ jsx(PostForm, { previewEndpoint })
|
|
16
16
|
] });
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
PostForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6MDPOMKE.js";
|
|
5
5
|
import {
|
|
6
6
|
useT
|
|
7
7
|
} from "./chunk-DUSEHGSV.js";
|
|
@@ -11,7 +11,7 @@ import { useEffect, useState, use } from "react";
|
|
|
11
11
|
import { notFound } from "next/navigation";
|
|
12
12
|
import { getPostById } from "ampless";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
function EditPostPage({ params,
|
|
14
|
+
function EditPostPage({ params, previewEndpoint }) {
|
|
15
15
|
const t = useT();
|
|
16
16
|
const { postId } = use(params);
|
|
17
17
|
const [post, setPost] = useState(null);
|
|
@@ -28,7 +28,7 @@ function EditPostPage({ params, renderPreviewAction }) {
|
|
|
28
28
|
if (missing) notFound();
|
|
29
29
|
return /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-7xl p-4 md:p-8", children: [
|
|
30
30
|
/* @__PURE__ */ jsx("h1", { className: "mb-6 text-2xl font-bold md:mb-8 md:text-3xl", children: t("posts.form.editTitle") }),
|
|
31
|
-
post && /* @__PURE__ */ jsx(PostForm, { post,
|
|
31
|
+
post && /* @__PURE__ */ jsx(PostForm, { post, previewEndpoint })
|
|
32
32
|
] });
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Post } from 'ampless';
|
|
3
2
|
|
|
4
3
|
interface EditPostPageProps {
|
|
5
4
|
params: Promise<{
|
|
6
5
|
postId: string;
|
|
7
6
|
}>;
|
|
8
7
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* Endpoint that `<PostForm>` / `<PostHistoryPanel>` POST the draft to
|
|
9
|
+
* for preview HTML. Threaded down from `createEditPostPage`. Defaults
|
|
10
|
+
* to `/admin/preview` inside `<PostForm>` when omitted.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
previewEndpoint?: string;
|
|
13
13
|
}
|
|
14
|
-
declare function EditPostPage({ params,
|
|
14
|
+
declare function EditPostPage({ params, previewEndpoint }: EditPostPageProps): react_jsx_runtime.JSX.Element;
|
|
15
15
|
|
|
16
16
|
export { EditPostPage };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EditPostPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-WXUHQNZB.js";
|
|
5
|
+
import "../chunk-6MDPOMKE.js";
|
|
6
6
|
import "../chunk-DDAGBC4N.js";
|
|
7
7
|
import "../chunk-WUYJ42LP.js";
|
|
8
8
|
import "../chunk-2ITWLRYF.js";
|
|
@@ -100,20 +100,21 @@ declare function Sidebar({ email, isAdmin, }: {
|
|
|
100
100
|
interface PostFormProps {
|
|
101
101
|
post?: Post;
|
|
102
102
|
/**
|
|
103
|
-
* Phase 7:
|
|
104
|
-
* HTML
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
103
|
+
* Phase 7: endpoint that the form POSTs the in-flight draft to for
|
|
104
|
+
* server-rendered preview HTML (body + page-level scripts). Defaults
|
|
105
|
+
* to `/admin/preview`, the Route Handler shipped by the template
|
|
106
|
+
* scaffold at `app/(admin)/admin/preview/route.tsx`. The factory
|
|
107
|
+
* (`createEditPostPage` / `createNewPostPage`) exposes a
|
|
108
|
+
* `previewEndpoint?: string` option that threads down to here for
|
|
109
|
+
* non-default admin mount paths (e.g. Next.js `basePath`).
|
|
110
|
+
*
|
|
111
|
+
* The resulting HTML is shown in an `<iframe srcDoc>` (sandbox =
|
|
108
112
|
* `allow-scripts` only) so YouTube iframes / x.com `widgets.js` can
|
|
109
113
|
* hydrate without crossing the admin's same-origin boundary.
|
|
110
|
-
*
|
|
111
|
-
* When omitted, the preview pane shows a fallback message explaining
|
|
112
|
-
* how to wire the prop. Alpha 7 onwards templates always pass it.
|
|
113
114
|
*/
|
|
114
|
-
|
|
115
|
+
previewEndpoint?: string;
|
|
115
116
|
}
|
|
116
|
-
declare function PostForm({ post,
|
|
117
|
+
declare function PostForm({ post, previewEndpoint }: PostFormProps): react_jsx_runtime.JSX.Element;
|
|
117
118
|
|
|
118
119
|
interface SiteSettingsFormValues {
|
|
119
120
|
'site.name'?: string;
|
package/dist/components/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Sidebar,
|
|
5
5
|
SiteSettingsForm,
|
|
6
6
|
ThemeSettingsForm
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-IJVACP4G.js";
|
|
8
8
|
import {
|
|
9
9
|
MediaUploader
|
|
10
10
|
} from "../chunk-DSCNWIBN.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
MediaPicker,
|
|
16
16
|
PostForm
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-6MDPOMKE.js";
|
|
18
18
|
import {
|
|
19
19
|
ImageUploadDialog,
|
|
20
20
|
sanitizeName,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Post } from 'ampless';
|
|
3
2
|
|
|
4
3
|
interface NewPostPageProps {
|
|
5
4
|
/**
|
|
6
|
-
*
|
|
7
|
-
* down
|
|
5
|
+
* Endpoint that `<PostForm>` POSTs the draft to for preview HTML.
|
|
6
|
+
* Threaded down from `createNewPostPage`. Defaults to `/admin/preview`
|
|
7
|
+
* inside `<PostForm>` when omitted.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
previewEndpoint?: string;
|
|
10
10
|
}
|
|
11
|
-
declare function NewPostPage({
|
|
11
|
+
declare function NewPostPage({ previewEndpoint }: NewPostPageProps): react_jsx_runtime.JSX.Element;
|
|
12
12
|
|
|
13
13
|
export { NewPostPage };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
NewPostPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-JUNHTZDL.js";
|
|
5
|
+
import "../chunk-6MDPOMKE.js";
|
|
6
6
|
import "../chunk-DDAGBC4N.js";
|
|
7
7
|
import "../chunk-WUYJ42LP.js";
|
|
8
8
|
import "../chunk-2ITWLRYF.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -89,9 +89,9 @@ interface Admin {
|
|
|
89
89
|
* instance. Throws when `createAdmin` was called without the
|
|
90
90
|
* `ampless` option — same error as the other passthroughs.
|
|
91
91
|
*
|
|
92
|
-
* Template-side
|
|
93
|
-
*
|
|
94
|
-
*
|
|
92
|
+
* Template-side Route Handlers (e.g. `preview/route.tsx`) use this
|
|
93
|
+
* to obtain the runtime without depending on the thunk/eager dual
|
|
94
|
+
* form of `admin.ampless`.
|
|
95
95
|
*/
|
|
96
96
|
getAmpless(): Promise<Ampless>;
|
|
97
97
|
readonly outputs: AmplessOutputs;
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/editor/admin-editor-extensions.ts":{"bytes":2718,"imports":[],"format":"esm"},"src/editor.ts":{"bytes":645,"imports":[{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"./editor/admin-editor-extensions.js"}],"format":"esm"},"src/locales/en.json":{"bytes":14217,"imports":[]},"src/locales/ja.json":{"bytes":17984,"imports":[]},"src/lib/i18n.ts":{"bytes":2935,"imports":[{"path":"src/locales/en.json","kind":"import-statement","original":"../locales/en.json"},{"path":"src/locales/ja.json","kind":"import-statement","original":"../locales/ja.json"}],"format":"esm"},"src/lib/media.ts":{"bytes":3109,"imports":[],"format":"esm"},"src/lib/amplify-server.ts":{"bytes":593,"imports":[{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true}],"format":"esm"},"src/lib/auth-server.ts":{"bytes":1678,"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":8505,"imports":[{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"./lib/media.js"},{"path":"src/lib/amplify-server.ts","kind":"import-statement","original":"./lib/amplify-server.js"},{"path":"src/lib/auth-server.ts","kind":"import-statement","original":"./lib/auth-server.js"},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"}],"format":"esm"},"src/api/media-proxy.ts":{"bytes":4392,"imports":[{"path":"next/server","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true}],"format":"esm"},"src/api/index.ts":{"bytes":562,"imports":[{"path":"src/api/media-proxy.ts","kind":"import-statement","original":"./media-proxy.js"}],"format":"esm"},"src/components/i18n-provider.tsx":{"bytes":1526,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"../lib/i18n.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/admin-dashboard.tsx":{"bytes":2256,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/upload.ts":{"bytes":4604,"imports":[{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"./media.js"}],"format":"esm"},"src/components/image-upload-dialog.tsx":{"bytes":14701,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/admin-config-client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/components/media-picker.tsx":{"bytes":5261,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/table-controls.tsx":{"bytes":4583,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/toolbar.tsx":{"bytes":4887,"imports":[{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"../components/media-picker.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/editor/table-controls.tsx","kind":"import-statement","original":"./table-controls.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/image-bubble-menu.tsx":{"bytes":2716,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/tiptap-editor.tsx":{"bytes":6432,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"@tiptap/extension-table","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-row","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-header","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-cell","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-list","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-item","kind":"import-statement","external":true},{"path":"@tiptap/extension-underline","kind":"import-statement","external":true},{"path":"@tiptap/extension-highlight","kind":"import-statement","external":true},{"path":"@tiptap/extension-text-align","kind":"import-statement","external":true},{"path":"src/editor/toolbar.tsx","kind":"import-statement","original":"./toolbar.js"},{"path":"src/editor/image-bubble-menu.tsx","kind":"import-statement","original":"./image-bubble-menu.js"},{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"./admin-editor-extensions.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/post-history-panel.tsx":{"bytes":10562,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/static-bundle.ts":{"bytes":5812,"imports":[{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/components/static-uploader.tsx":{"bytes":8959,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/post-published-at.ts":{"bytes":5546,"imports":[],"format":"esm"},"src/lib/post-draft.ts":{"bytes":8232,"imports":[],"format":"esm"},"src/components/post-form.tsx":{"bytes":38523,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/editor/tiptap-editor.tsx","kind":"import-statement","original":"../editor/tiptap-editor.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/post-history-panel.tsx","kind":"import-statement","original":"./post-history-panel.js"},{"path":"src/components/static-uploader.tsx","kind":"import-statement","original":"./static-uploader.js"},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/post-published-at.ts","kind":"import-statement","original":"../lib/post-published-at.js"},{"path":"src/lib/post-draft.ts","kind":"import-statement","original":"../lib/post-draft.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/edit-post-view.tsx":{"bytes":1393,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/amplify-client.ts":{"bytes":612,"imports":[{"path":"aws-amplify","kind":"import-statement","external":true}],"format":"esm"},"src/lib/posts-provider.ts":{"bytes":9515,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/kv-provider.ts":{"bytes":4266,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-store.ts":{"bytes":1823,"imports":[],"format":"esm"},"src/lib/mcp-token-provider.ts":{"bytes":2918,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"src/lib/mcp-token-store.ts","kind":"import-statement","original":"./mcp-token-store.js"}],"format":"esm"},"src/components/admin-providers.tsx":{"bytes":1791,"imports":[{"path":"src/lib/amplify-client.ts","kind":"import-statement","original":"../lib/amplify-client.js"},{"path":"src/lib/posts-provider.ts","kind":"import-statement","original":"../lib/posts-provider.js"},{"path":"src/lib/kv-provider.ts","kind":"import-statement","original":"../lib/kv-provider.js"},{"path":"src/lib/mcp-token-provider.ts","kind":"import-statement","original":"../lib/mcp-token-provider.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/theme-actions.ts":{"bytes":1517,"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"format":"esm"},"src/components/sidebar.tsx":{"bytes":6070,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/post-draft.ts","kind":"import-statement","original":"../lib/post-draft.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/site-settings-form.tsx":{"bytes":6509,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/theme-settings-form.tsx":{"bytes":30118,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-uploader.tsx":{"bytes":11631,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/index.ts":{"bytes":1684,"imports":[{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"./admin-providers.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"./sidebar.js"},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"./site-settings-form.js"},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"./theme-settings-form.js"},{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"}],"format":"esm"},"src/components/login-view.tsx":{"bytes":7062,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-format.ts":{"bytes":1662,"imports":[{"path":"crypto","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-storage.ts":{"bytes":1728,"imports":[{"path":"src/lib/mcp-token-store.ts","kind":"import-statement","original":"./mcp-token-store.js"}],"format":"esm"},"src/components/mcp-tokens-view.tsx":{"bytes":13127,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/mcp-token-format.ts","kind":"import-statement","original":"../lib/mcp-token-format.js"},{"path":"src/lib/mcp-token-storage.ts","kind":"import-statement","original":"../lib/mcp-token-storage.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-view.tsx":{"bytes":351,"imports":[{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/new-post-view.tsx":{"bytes":700,"imports":[{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/plugin-settings.ts":{"bytes":3405,"imports":[{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/plugin-secret.ts":{"bytes":8865,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/repeatable-field.ts":{"bytes":5326,"imports":[],"format":"esm"},"src/components/repeatable-field-editor.tsx":{"bytes":5231,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/plugin-settings-form.tsx","kind":"import-statement","original":"./plugin-settings-form.js"},{"path":"src/lib/repeatable-field.ts","kind":"import-statement","original":"../lib/repeatable-field.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/secret-field-input.ts":{"bytes":6212,"imports":[],"format":"esm"},"src/components/secret-field-input.tsx":{"bytes":7500,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/secret-field-input.ts","kind":"import-statement","original":"../lib/secret-field-input.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/plugin-settings-form.tsx":{"bytes":20677,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/plugin-settings.ts","kind":"import-statement","original":"../lib/plugin-settings.js"},{"path":"src/lib/plugin-secret.ts","kind":"import-statement","original":"../lib/plugin-secret.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/repeatable-field-editor.tsx","kind":"import-statement","original":"./repeatable-field-editor.js"},{"path":"src/components/secret-field-input.tsx","kind":"import-statement","original":"./secret-field-input.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/posts-list-view.tsx":{"bytes":3204,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/users-list-view.tsx":{"bytes":7042,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/admin-layout.tsx":{"bytes":3243,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"../components/sidebar.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"../components/admin-providers.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/dashboard.tsx":{"bytes":448,"imports":[{"path":"src/components/admin-dashboard.tsx","kind":"import-statement","original":"../components/admin-dashboard.js"}],"format":"esm"},"src/pages/posts-list.tsx":{"bytes":382,"imports":[{"path":"src/components/posts-list-view.tsx","kind":"import-statement","original":"../components/posts-list-view.js"}],"format":"esm"},"src/pages/post-new.tsx":{"bytes":1229,"imports":[{"path":"src/components/new-post-view.tsx","kind":"import-statement","original":"../components/new-post-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/post-edit.tsx":{"bytes":1607,"imports":[{"path":"src/components/edit-post-view.tsx","kind":"import-statement","original":"../components/edit-post-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/media.tsx":{"bytes":381,"imports":[{"path":"src/components/media-view.tsx","kind":"import-statement","original":"../components/media-view.js"}],"format":"esm"},"src/pages/site-edit.tsx":{"bytes":2165,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"../components/site-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/site-theme.tsx":{"bytes":4013,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"../components/theme-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/users-list.tsx":{"bytes":647,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/users-list-view.tsx","kind":"import-statement","original":"../components/users-list-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/mcp-tokens.tsx":{"bytes":1395,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/mcp-tokens-view.tsx","kind":"import-statement","original":"../components/mcp-tokens-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/plugins.tsx":{"bytes":4233,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/plugin-settings-form.tsx","kind":"import-statement","original":"../components/plugin-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/login.tsx":{"bytes":400,"imports":[{"path":"src/components/login-view.tsx","kind":"import-statement","original":"../components/login-view.js"}],"format":"esm"},"src/pages/index.ts":{"bytes":1441,"imports":[{"path":"src/pages/admin-layout.tsx","kind":"import-statement","original":"./admin-layout.js"},{"path":"src/pages/dashboard.tsx","kind":"import-statement","original":"./dashboard.js"},{"path":"src/pages/posts-list.tsx","kind":"import-statement","original":"./posts-list.js"},{"path":"src/pages/post-new.tsx","kind":"import-statement","original":"./post-new.js"},{"path":"src/pages/post-edit.tsx","kind":"import-statement","original":"./post-edit.js"},{"path":"src/pages/media.tsx","kind":"import-statement","original":"./media.js"},{"path":"src/pages/site-edit.tsx","kind":"import-statement","original":"./site-edit.js"},{"path":"src/pages/site-theme.tsx","kind":"import-statement","original":"./site-theme.js"},{"path":"src/pages/users-list.tsx","kind":"import-statement","original":"./users-list.js"},{"path":"src/pages/mcp-tokens.tsx","kind":"import-statement","original":"./mcp-tokens.js"},{"path":"src/pages/plugins.tsx","kind":"import-statement","original":"./plugins.js"},{"path":"src/pages/login.tsx","kind":"import-statement","original":"./login.js"}],"format":"esm"}},"outputs":{"dist/components/media-view.js":{"imports":[{"path":"dist/chunk-HOJJIABL.js","kind":"import-statement"},{"path":"dist/chunk-DSCNWIBN.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["MediaPage"],"entryPoint":"src/components/media-view.tsx","inputs":{},"bytes":245},"dist/components/new-post-view.js":{"imports":[{"path":"dist/chunk-AKH24LFB.js","kind":"import-statement"},{"path":"dist/chunk-LZHJTCRU.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["NewPostPage"],"entryPoint":"src/components/new-post-view.tsx","inputs":{},"bytes":280},"dist/components/plugin-settings-form.js":{"imports":[{"path":"dist/chunk-PHV2FQFV.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["PluginSettingsForm","renderScalarInput"],"entryPoint":"src/components/plugin-settings-form.tsx","inputs":{},"bytes":243},"dist/components/posts-list-view.js":{"imports":[{"path":"dist/chunk-LNX3I35F.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["PostsList"],"entryPoint":"src/components/posts-list-view.tsx","inputs":{},"bytes":152},"dist/components/users-list-view.js":{"imports":[{"path":"dist/chunk-TBNETGQL.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["UsersListView"],"entryPoint":"src/components/users-list-view.tsx","inputs":{},"bytes":160},"dist/lib/theme-actions.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"}],"exports":["invalidateSiteSettingsCache"],"entryPoint":"src/lib/theme-actions.ts","inputs":{},"bytes":126},"dist/pages/index.js":{"imports":[{"path":"dist/chunk-HOJJIABL.js","kind":"import-statement"},{"path":"dist/chunk-AKH24LFB.js","kind":"import-statement"},{"path":"dist/chunk-PHV2FQFV.js","kind":"import-statement"},{"path":"dist/chunk-LNX3I35F.js","kind":"import-statement"},{"path":"dist/chunk-TBNETGQL.js","kind":"import-statement"},{"path":"dist/chunk-MPZ3GVZC.js","kind":"import-statement"},{"path":"dist/chunk-AKQAEPUJ.js","kind":"import-statement"},{"path":"dist/chunk-RL6EOFCU.js","kind":"import-statement"},{"path":"dist/chunk-DSCNWIBN.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-LZHJTCRU.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-IR4EB5C3.js","kind":"import-statement"},{"path":"dist/chunk-NI4JSVXL.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["createAdminDashboardPage","createAdminLayout","createEditPostPage","createLoginPage","createMcpTokensPage","createMediaPage","createNewPostPage","createPluginsPage","createPostsListPage","createSiteEditPage","createSiteThemePage","createUsersListPage"],"entryPoint":"src/pages/index.ts","inputs":{"src/pages/admin-layout.tsx":{"bytesInOutput":1280},"src/pages/index.ts":{"bytesInOutput":0},"src/pages/dashboard.tsx":{"bytesInOutput":71},"src/pages/posts-list.tsx":{"bytesInOutput":61},"src/pages/post-new.tsx":{"bytesInOutput":256},"src/pages/post-edit.tsx":{"bytesInOutput":274},"src/pages/media.tsx":{"bytesInOutput":57},"src/pages/site-edit.tsx":{"bytesInOutput":1723},"src/pages/site-theme.tsx":{"bytesInOutput":2299},"src/pages/users-list.tsx":{"bytesInOutput":404},"src/pages/mcp-tokens.tsx":{"bytesInOutput":679},"src/pages/plugins.tsx":{"bytesInOutput":2287},"src/pages/login.tsx":{"bytesInOutput":57}},"bytes":10963},"dist/chunk-HOJJIABL.js":{"imports":[{"path":"dist/chunk-DSCNWIBN.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPage"],"inputs":{"src/components/media-view.tsx":{"bytesInOutput":358}},"bytes":518},"dist/chunk-AKH24LFB.js":{"imports":[{"path":"dist/chunk-LZHJTCRU.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["NewPostPage"],"inputs":{"src/components/new-post-view.tsx":{"bytesInOutput":407}},"bytes":567},"dist/chunk-PHV2FQFV.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PluginSettingsForm","renderScalarInput"],"inputs":{"src/components/plugin-settings-form.tsx":{"bytesInOutput":14724},"src/lib/plugin-settings.ts":{"bytesInOutput":1178},"src/lib/plugin-secret.ts":{"bytesInOutput":3215},"src/components/repeatable-field-editor.tsx":{"bytesInOutput":3961},"src/lib/repeatable-field.ts":{"bytesInOutput":1651},"src/components/secret-field-input.tsx":{"bytesInOutput":5182},"src/lib/secret-field-input.ts":{"bytesInOutput":2013}},"bytes":32499},"dist/chunk-LNX3I35F.js":{"imports":[{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PostsList"],"inputs":{"src/components/posts-list-view.tsx":{"bytesInOutput":3221}},"bytes":3331},"dist/chunk-TBNETGQL.js":{"imports":[{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["UsersListView"],"inputs":{"src/components/users-list-view.tsx":{"bytesInOutput":5995}},"bytes":6109},"dist/editor.js":{"imports":[{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"}],"exports":["getAdminEditorExtensions","installAdminEditorExtensions"],"entryPoint":"src/editor.ts","inputs":{"src/editor.ts":{"bytesInOutput":0}},"bytes":169},"dist/index.js":{"imports":[{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"},{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"exports":["createAdmin","getDictionary","resolveLocale","translate"],"entryPoint":"src/index.ts","inputs":{"src/lib/amplify-server.ts":{"bytesInOutput":164},"src/lib/auth-server.ts":{"bytesInOutput":1143},"src/index.ts":{"bytesInOutput":2145}},"bytes":3737},"dist/api/index.js":{"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true}],"exports":["createMediaProxyRoute"],"entryPoint":"src/api/index.ts","inputs":{"src/api/media-proxy.ts":{"bytesInOutput":1883},"src/api/index.ts":{"bytesInOutput":0}},"bytes":1945},"dist/components/admin-dashboard.js":{"imports":[{"path":"dist/chunk-MPZ3GVZC.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["AdminDashboard"],"entryPoint":"src/components/admin-dashboard.tsx","inputs":{},"bytes":162},"dist/chunk-MPZ3GVZC.js":{"imports":[{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminDashboard"],"inputs":{"src/components/admin-dashboard.tsx":{"bytesInOutput":2444}},"bytes":2559},"dist/components/edit-post-view.js":{"imports":[{"path":"dist/chunk-AKQAEPUJ.js","kind":"import-statement"},{"path":"dist/chunk-LZHJTCRU.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["EditPostPage"],"entryPoint":"src/components/edit-post-view.tsx","inputs":{},"bytes":282},"dist/chunk-AKQAEPUJ.js":{"imports":[{"path":"dist/chunk-LZHJTCRU.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["EditPostPage"],"inputs":{"src/components/edit-post-view.tsx":{"bytesInOutput":1066}},"bytes":1228},"dist/components/index.js":{"imports":[{"path":"dist/chunk-RL6EOFCU.js","kind":"import-statement"},{"path":"dist/chunk-DSCNWIBN.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-LZHJTCRU.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["AdminProviders","I18nProvider","ImageUploadDialog","MediaPicker","MediaUploader","PostForm","Sidebar","SiteSettingsForm","ThemeSettingsForm","invalidateSiteSettingsCache","publicMediaUrl","sanitizeName","setAdminMediaContext","uploadProcessedImage","useLocale","useT"],"entryPoint":"src/components/index.ts","inputs":{"src/components/index.ts":{"bytesInOutput":0}},"bytes":947},"dist/chunk-RL6EOFCU.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-LZHJTCRU.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"aws-amplify","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminProviders","Sidebar","SiteSettingsForm","ThemeSettingsForm"],"inputs":{"src/lib/amplify-client.ts":{"bytesInOutput":194},"src/lib/posts-provider.ts":{"bytesInOutput":4535},"src/lib/kv-provider.ts":{"bytesInOutput":2125},"src/lib/mcp-token-provider.ts":{"bytesInOutput":1513},"src/components/admin-providers.tsx":{"bytesInOutput":371},"src/components/sidebar.tsx":{"bytesInOutput":5903},"src/components/site-settings-form.tsx":{"bytesInOutput":6899},"src/components/theme-settings-form.tsx":{"bytesInOutput":21443}},"bytes":43710},"dist/chunk-DSCNWIBN.js":{"imports":[{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaUploader"],"inputs":{"src/components/media-uploader.tsx":{"bytesInOutput":9157}},"bytes":9433},"dist/chunk-D72XF3Q3.js":{"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"exports":["invalidateSiteSettingsCache"],"inputs":{"src/lib/theme-actions.ts":{"bytesInOutput":134}},"bytes":205},"dist/chunk-LZHJTCRU.js":{"imports":[{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"@tiptap/extension-table","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-row","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-header","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-cell","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-list","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-item","kind":"import-statement","external":true},{"path":"@tiptap/extension-underline","kind":"import-statement","external":true},{"path":"@tiptap/extension-highlight","kind":"import-statement","external":true},{"path":"@tiptap/extension-text-align","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPicker","PostForm","clearAllDrafts"],"inputs":{"src/components/media-picker.tsx":{"bytesInOutput":4988},"src/components/post-form.tsx":{"bytesInOutput":26133},"src/editor/tiptap-editor.tsx":{"bytesInOutput":4202},"src/editor/toolbar.tsx":{"bytesInOutput":4823},"src/editor/table-controls.tsx":{"bytesInOutput":4227},"src/editor/image-bubble-menu.tsx":{"bytesInOutput":2901},"src/components/post-history-panel.tsx":{"bytesInOutput":8827},"src/components/static-uploader.tsx":{"bytesInOutput":7717},"src/lib/static-bundle.ts":{"bytesInOutput":2806},"src/lib/post-published-at.ts":{"bytesInOutput":1301},"src/lib/post-draft.ts":{"bytesInOutput":2725}},"bytes":71510},"dist/chunk-DDAGBC4N.js":{"imports":[{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["ImageUploadDialog","createMediaRow","getAdminCmsConfig","getMediaProcessingDefaults","sanitizeName","setAdminCmsConfigClient","uploadProcessedImage"],"inputs":{"src/lib/upload.ts":{"bytesInOutput":2048},"src/components/image-upload-dialog.tsx":{"bytesInOutput":12823},"src/lib/admin-config-client.ts":{"bytesInOutput":223}},"bytes":15465},"dist/chunk-WUYJ42LP.js":{"imports":[],"exports":["getAdminEditorExtensions","installAdminEditorExtensions"],"inputs":{"src/editor/admin-editor-extensions.ts":{"bytesInOutput":607}},"bytes":720},"dist/chunk-2ITWLRYF.js":{"imports":[],"exports":["createMedia","publicMediaUrl","setAdminMediaContext"],"inputs":{"src/lib/media.ts":{"bytesInOutput":1326}},"bytes":1415},"dist/components/login-view.js":{"imports":[{"path":"dist/chunk-IR4EB5C3.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["LoginPage"],"entryPoint":"src/components/login-view.tsx","inputs":{},"bytes":152},"dist/chunk-IR4EB5C3.js":{"imports":[{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["LoginPage"],"inputs":{"src/components/login-view.tsx":{"bytesInOutput":6967}},"bytes":7072},"dist/components/mcp-tokens-view.js":{"imports":[{"path":"dist/chunk-NI4JSVXL.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["McpTokensView"],"entryPoint":"src/components/mcp-tokens-view.tsx","inputs":{},"bytes":191},"dist/chunk-NI4JSVXL.js":{"imports":[{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"crypto","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["McpTokensView"],"inputs":{"src/components/mcp-tokens-view.tsx":{"bytesInOutput":12281},"src/lib/mcp-token-format.ts":{"bytesInOutput":459},"src/lib/mcp-token-storage.ts":{"bytesInOutput":575}},"bytes":13591},"dist/chunk-C7G5AQ3L.js":{"imports":[],"exports":["getMcpTokenStore","setMcpTokenStore"],"inputs":{"src/lib/mcp-token-store.ts":{"bytesInOutput":297}},"bytes":379},"dist/chunk-DUSEHGSV.js":{"imports":[{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["I18nProvider","useLocale","useT"],"inputs":{"src/components/i18n-provider.tsx":{"bytesInOutput":785}},"bytes":922},"dist/chunk-7TAT4AHW.js":{"imports":[],"exports":["getDictionary","resolveLocale","translate"],"inputs":{"src/locales/en.json":{"bytesInOutput":13629},"src/locales/ja.json":{"bytesInOutput":27094},"src/lib/i18n.ts":{"bytesInOutput":1146}},"bytes":41995}}}
|
|
1
|
+
{"inputs":{"src/editor/admin-editor-extensions.ts":{"bytes":2718,"imports":[],"format":"esm"},"src/editor.ts":{"bytes":645,"imports":[{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"./editor/admin-editor-extensions.js"}],"format":"esm"},"src/locales/en.json":{"bytes":14217,"imports":[]},"src/locales/ja.json":{"bytes":17984,"imports":[]},"src/lib/i18n.ts":{"bytes":2935,"imports":[{"path":"src/locales/en.json","kind":"import-statement","original":"../locales/en.json"},{"path":"src/locales/ja.json","kind":"import-statement","original":"../locales/ja.json"}],"format":"esm"},"src/lib/media.ts":{"bytes":3109,"imports":[],"format":"esm"},"src/lib/amplify-server.ts":{"bytes":593,"imports":[{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true}],"format":"esm"},"src/lib/auth-server.ts":{"bytes":1678,"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":8496,"imports":[{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"./lib/media.js"},{"path":"src/lib/amplify-server.ts","kind":"import-statement","original":"./lib/amplify-server.js"},{"path":"src/lib/auth-server.ts","kind":"import-statement","original":"./lib/auth-server.js"},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"}],"format":"esm"},"src/api/media-proxy.ts":{"bytes":4392,"imports":[{"path":"next/server","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true}],"format":"esm"},"src/api/index.ts":{"bytes":562,"imports":[{"path":"src/api/media-proxy.ts","kind":"import-statement","original":"./media-proxy.js"}],"format":"esm"},"src/components/i18n-provider.tsx":{"bytes":1526,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"../lib/i18n.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/admin-dashboard.tsx":{"bytes":2256,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/upload.ts":{"bytes":4604,"imports":[{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"./media.js"}],"format":"esm"},"src/components/image-upload-dialog.tsx":{"bytes":14701,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/admin-config-client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/components/media-picker.tsx":{"bytes":5261,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/table-controls.tsx":{"bytes":4583,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/toolbar.tsx":{"bytes":4887,"imports":[{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"../components/media-picker.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/editor/table-controls.tsx","kind":"import-statement","original":"./table-controls.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/image-bubble-menu.tsx":{"bytes":2716,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/tiptap-editor.tsx":{"bytes":6432,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"@tiptap/extension-table","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-row","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-header","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-cell","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-list","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-item","kind":"import-statement","external":true},{"path":"@tiptap/extension-underline","kind":"import-statement","external":true},{"path":"@tiptap/extension-highlight","kind":"import-statement","external":true},{"path":"@tiptap/extension-text-align","kind":"import-statement","external":true},{"path":"src/editor/toolbar.tsx","kind":"import-statement","original":"./toolbar.js"},{"path":"src/editor/image-bubble-menu.tsx","kind":"import-statement","original":"./image-bubble-menu.js"},{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"./admin-editor-extensions.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/post-history-panel.tsx":{"bytes":11394,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/static-bundle.ts":{"bytes":5812,"imports":[{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/components/static-uploader.tsx":{"bytes":8959,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/post-published-at.ts":{"bytes":5546,"imports":[],"format":"esm"},"src/lib/post-draft.ts":{"bytes":8232,"imports":[],"format":"esm"},"src/components/post-form.tsx":{"bytes":38588,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/editor/tiptap-editor.tsx","kind":"import-statement","original":"../editor/tiptap-editor.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/post-history-panel.tsx","kind":"import-statement","original":"./post-history-panel.js"},{"path":"src/components/static-uploader.tsx","kind":"import-statement","original":"./static-uploader.js"},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/post-published-at.ts","kind":"import-statement","original":"../lib/post-published-at.js"},{"path":"src/lib/post-draft.ts","kind":"import-statement","original":"../lib/post-draft.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/edit-post-view.tsx":{"bytes":1403,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/amplify-client.ts":{"bytes":612,"imports":[{"path":"aws-amplify","kind":"import-statement","external":true}],"format":"esm"},"src/lib/posts-provider.ts":{"bytes":9515,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/kv-provider.ts":{"bytes":4266,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-store.ts":{"bytes":1823,"imports":[],"format":"esm"},"src/lib/mcp-token-provider.ts":{"bytes":2918,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"src/lib/mcp-token-store.ts","kind":"import-statement","original":"./mcp-token-store.js"}],"format":"esm"},"src/components/admin-providers.tsx":{"bytes":1791,"imports":[{"path":"src/lib/amplify-client.ts","kind":"import-statement","original":"../lib/amplify-client.js"},{"path":"src/lib/posts-provider.ts","kind":"import-statement","original":"../lib/posts-provider.js"},{"path":"src/lib/kv-provider.ts","kind":"import-statement","original":"../lib/kv-provider.js"},{"path":"src/lib/mcp-token-provider.ts","kind":"import-statement","original":"../lib/mcp-token-provider.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/theme-actions.ts":{"bytes":1517,"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"format":"esm"},"src/components/sidebar.tsx":{"bytes":6070,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/post-draft.ts","kind":"import-statement","original":"../lib/post-draft.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/site-settings-form.tsx":{"bytes":6509,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/theme-settings-form.tsx":{"bytes":30118,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-uploader.tsx":{"bytes":11631,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/index.ts":{"bytes":1684,"imports":[{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"./admin-providers.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"./sidebar.js"},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"./site-settings-form.js"},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"./theme-settings-form.js"},{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"}],"format":"esm"},"src/components/login-view.tsx":{"bytes":7062,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-format.ts":{"bytes":1662,"imports":[{"path":"crypto","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-storage.ts":{"bytes":1728,"imports":[{"path":"src/lib/mcp-token-store.ts","kind":"import-statement","original":"./mcp-token-store.js"}],"format":"esm"},"src/components/mcp-tokens-view.tsx":{"bytes":13127,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/mcp-token-format.ts","kind":"import-statement","original":"../lib/mcp-token-format.js"},{"path":"src/lib/mcp-token-storage.ts","kind":"import-statement","original":"../lib/mcp-token-storage.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-view.tsx":{"bytes":351,"imports":[{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/new-post-view.tsx":{"bytes":670,"imports":[{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/plugin-settings.ts":{"bytes":3405,"imports":[{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/plugin-secret.ts":{"bytes":8865,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/repeatable-field.ts":{"bytes":5326,"imports":[],"format":"esm"},"src/components/repeatable-field-editor.tsx":{"bytes":5231,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/plugin-settings-form.tsx","kind":"import-statement","original":"./plugin-settings-form.js"},{"path":"src/lib/repeatable-field.ts","kind":"import-statement","original":"../lib/repeatable-field.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/secret-field-input.ts":{"bytes":6212,"imports":[],"format":"esm"},"src/components/secret-field-input.tsx":{"bytes":7500,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/secret-field-input.ts","kind":"import-statement","original":"../lib/secret-field-input.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/plugin-settings-form.tsx":{"bytes":20677,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/plugin-settings.ts","kind":"import-statement","original":"../lib/plugin-settings.js"},{"path":"src/lib/plugin-secret.ts","kind":"import-statement","original":"../lib/plugin-secret.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/repeatable-field-editor.tsx","kind":"import-statement","original":"./repeatable-field-editor.js"},{"path":"src/components/secret-field-input.tsx","kind":"import-statement","original":"./secret-field-input.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/posts-list-view.tsx":{"bytes":3204,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/users-list-view.tsx":{"bytes":7042,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/admin-layout.tsx":{"bytes":3243,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"../components/sidebar.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"../components/admin-providers.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/dashboard.tsx":{"bytes":448,"imports":[{"path":"src/components/admin-dashboard.tsx","kind":"import-statement","original":"../components/admin-dashboard.js"}],"format":"esm"},"src/pages/posts-list.tsx":{"bytes":382,"imports":[{"path":"src/components/posts-list-view.tsx","kind":"import-statement","original":"../components/posts-list-view.js"}],"format":"esm"},"src/pages/post-new.tsx":{"bytes":1109,"imports":[{"path":"src/components/new-post-view.tsx","kind":"import-statement","original":"../components/new-post-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/post-edit.tsx":{"bytes":1418,"imports":[{"path":"src/components/edit-post-view.tsx","kind":"import-statement","original":"../components/edit-post-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/media.tsx":{"bytes":381,"imports":[{"path":"src/components/media-view.tsx","kind":"import-statement","original":"../components/media-view.js"}],"format":"esm"},"src/pages/site-edit.tsx":{"bytes":2165,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"../components/site-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/site-theme.tsx":{"bytes":4013,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"../components/theme-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/users-list.tsx":{"bytes":647,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/users-list-view.tsx","kind":"import-statement","original":"../components/users-list-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/mcp-tokens.tsx":{"bytes":1395,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/mcp-tokens-view.tsx","kind":"import-statement","original":"../components/mcp-tokens-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/plugins.tsx":{"bytes":4233,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/plugin-settings-form.tsx","kind":"import-statement","original":"../components/plugin-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/login.tsx":{"bytes":400,"imports":[{"path":"src/components/login-view.tsx","kind":"import-statement","original":"../components/login-view.js"}],"format":"esm"},"src/pages/index.ts":{"bytes":1441,"imports":[{"path":"src/pages/admin-layout.tsx","kind":"import-statement","original":"./admin-layout.js"},{"path":"src/pages/dashboard.tsx","kind":"import-statement","original":"./dashboard.js"},{"path":"src/pages/posts-list.tsx","kind":"import-statement","original":"./posts-list.js"},{"path":"src/pages/post-new.tsx","kind":"import-statement","original":"./post-new.js"},{"path":"src/pages/post-edit.tsx","kind":"import-statement","original":"./post-edit.js"},{"path":"src/pages/media.tsx","kind":"import-statement","original":"./media.js"},{"path":"src/pages/site-edit.tsx","kind":"import-statement","original":"./site-edit.js"},{"path":"src/pages/site-theme.tsx","kind":"import-statement","original":"./site-theme.js"},{"path":"src/pages/users-list.tsx","kind":"import-statement","original":"./users-list.js"},{"path":"src/pages/mcp-tokens.tsx","kind":"import-statement","original":"./mcp-tokens.js"},{"path":"src/pages/plugins.tsx","kind":"import-statement","original":"./plugins.js"},{"path":"src/pages/login.tsx","kind":"import-statement","original":"./login.js"}],"format":"esm"}},"outputs":{"dist/components/media-view.js":{"imports":[{"path":"dist/chunk-HOJJIABL.js","kind":"import-statement"},{"path":"dist/chunk-DSCNWIBN.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["MediaPage"],"entryPoint":"src/components/media-view.tsx","inputs":{},"bytes":245},"dist/components/new-post-view.js":{"imports":[{"path":"dist/chunk-JUNHTZDL.js","kind":"import-statement"},{"path":"dist/chunk-6MDPOMKE.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["NewPostPage"],"entryPoint":"src/components/new-post-view.tsx","inputs":{},"bytes":280},"dist/components/plugin-settings-form.js":{"imports":[{"path":"dist/chunk-PHV2FQFV.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["PluginSettingsForm","renderScalarInput"],"entryPoint":"src/components/plugin-settings-form.tsx","inputs":{},"bytes":243},"dist/components/posts-list-view.js":{"imports":[{"path":"dist/chunk-LNX3I35F.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["PostsList"],"entryPoint":"src/components/posts-list-view.tsx","inputs":{},"bytes":152},"dist/components/users-list-view.js":{"imports":[{"path":"dist/chunk-TBNETGQL.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["UsersListView"],"entryPoint":"src/components/users-list-view.tsx","inputs":{},"bytes":160},"dist/lib/theme-actions.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"}],"exports":["invalidateSiteSettingsCache"],"entryPoint":"src/lib/theme-actions.ts","inputs":{},"bytes":126},"dist/pages/index.js":{"imports":[{"path":"dist/chunk-HOJJIABL.js","kind":"import-statement"},{"path":"dist/chunk-JUNHTZDL.js","kind":"import-statement"},{"path":"dist/chunk-PHV2FQFV.js","kind":"import-statement"},{"path":"dist/chunk-LNX3I35F.js","kind":"import-statement"},{"path":"dist/chunk-TBNETGQL.js","kind":"import-statement"},{"path":"dist/chunk-MPZ3GVZC.js","kind":"import-statement"},{"path":"dist/chunk-WXUHQNZB.js","kind":"import-statement"},{"path":"dist/chunk-IJVACP4G.js","kind":"import-statement"},{"path":"dist/chunk-DSCNWIBN.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-6MDPOMKE.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-IR4EB5C3.js","kind":"import-statement"},{"path":"dist/chunk-NI4JSVXL.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["createAdminDashboardPage","createAdminLayout","createEditPostPage","createLoginPage","createMcpTokensPage","createMediaPage","createNewPostPage","createPluginsPage","createPostsListPage","createSiteEditPage","createSiteThemePage","createUsersListPage"],"entryPoint":"src/pages/index.ts","inputs":{"src/pages/admin-layout.tsx":{"bytesInOutput":1280},"src/pages/index.ts":{"bytesInOutput":0},"src/pages/dashboard.tsx":{"bytesInOutput":71},"src/pages/posts-list.tsx":{"bytesInOutput":61},"src/pages/post-new.tsx":{"bytesInOutput":248},"src/pages/post-edit.tsx":{"bytesInOutput":266},"src/pages/media.tsx":{"bytesInOutput":57},"src/pages/site-edit.tsx":{"bytesInOutput":1723},"src/pages/site-theme.tsx":{"bytesInOutput":2299},"src/pages/users-list.tsx":{"bytesInOutput":404},"src/pages/mcp-tokens.tsx":{"bytesInOutput":679},"src/pages/plugins.tsx":{"bytesInOutput":2287},"src/pages/login.tsx":{"bytesInOutput":57}},"bytes":10947},"dist/chunk-HOJJIABL.js":{"imports":[{"path":"dist/chunk-DSCNWIBN.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPage"],"inputs":{"src/components/media-view.tsx":{"bytesInOutput":358}},"bytes":518},"dist/chunk-JUNHTZDL.js":{"imports":[{"path":"dist/chunk-6MDPOMKE.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["NewPostPage"],"inputs":{"src/components/new-post-view.tsx":{"bytesInOutput":399}},"bytes":559},"dist/chunk-PHV2FQFV.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PluginSettingsForm","renderScalarInput"],"inputs":{"src/components/plugin-settings-form.tsx":{"bytesInOutput":14724},"src/lib/plugin-settings.ts":{"bytesInOutput":1178},"src/lib/plugin-secret.ts":{"bytesInOutput":3215},"src/components/repeatable-field-editor.tsx":{"bytesInOutput":3961},"src/lib/repeatable-field.ts":{"bytesInOutput":1651},"src/components/secret-field-input.tsx":{"bytesInOutput":5182},"src/lib/secret-field-input.ts":{"bytesInOutput":2013}},"bytes":32499},"dist/chunk-LNX3I35F.js":{"imports":[{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PostsList"],"inputs":{"src/components/posts-list-view.tsx":{"bytesInOutput":3221}},"bytes":3331},"dist/chunk-TBNETGQL.js":{"imports":[{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["UsersListView"],"inputs":{"src/components/users-list-view.tsx":{"bytesInOutput":5995}},"bytes":6109},"dist/editor.js":{"imports":[{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"}],"exports":["getAdminEditorExtensions","installAdminEditorExtensions"],"entryPoint":"src/editor.ts","inputs":{"src/editor.ts":{"bytesInOutput":0}},"bytes":169},"dist/index.js":{"imports":[{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"},{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"exports":["createAdmin","getDictionary","resolveLocale","translate"],"entryPoint":"src/index.ts","inputs":{"src/lib/amplify-server.ts":{"bytesInOutput":164},"src/lib/auth-server.ts":{"bytesInOutput":1143},"src/index.ts":{"bytesInOutput":2145}},"bytes":3737},"dist/api/index.js":{"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true}],"exports":["createMediaProxyRoute"],"entryPoint":"src/api/index.ts","inputs":{"src/api/media-proxy.ts":{"bytesInOutput":1883},"src/api/index.ts":{"bytesInOutput":0}},"bytes":1945},"dist/components/admin-dashboard.js":{"imports":[{"path":"dist/chunk-MPZ3GVZC.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["AdminDashboard"],"entryPoint":"src/components/admin-dashboard.tsx","inputs":{},"bytes":162},"dist/chunk-MPZ3GVZC.js":{"imports":[{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminDashboard"],"inputs":{"src/components/admin-dashboard.tsx":{"bytesInOutput":2444}},"bytes":2559},"dist/components/edit-post-view.js":{"imports":[{"path":"dist/chunk-WXUHQNZB.js","kind":"import-statement"},{"path":"dist/chunk-6MDPOMKE.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["EditPostPage"],"entryPoint":"src/components/edit-post-view.tsx","inputs":{},"bytes":282},"dist/chunk-WXUHQNZB.js":{"imports":[{"path":"dist/chunk-6MDPOMKE.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["EditPostPage"],"inputs":{"src/components/edit-post-view.tsx":{"bytesInOutput":1058}},"bytes":1220},"dist/components/index.js":{"imports":[{"path":"dist/chunk-IJVACP4G.js","kind":"import-statement"},{"path":"dist/chunk-DSCNWIBN.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-6MDPOMKE.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["AdminProviders","I18nProvider","ImageUploadDialog","MediaPicker","MediaUploader","PostForm","Sidebar","SiteSettingsForm","ThemeSettingsForm","invalidateSiteSettingsCache","publicMediaUrl","sanitizeName","setAdminMediaContext","uploadProcessedImage","useLocale","useT"],"entryPoint":"src/components/index.ts","inputs":{"src/components/index.ts":{"bytesInOutput":0}},"bytes":947},"dist/chunk-IJVACP4G.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-6MDPOMKE.js","kind":"import-statement"},{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"aws-amplify","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminProviders","Sidebar","SiteSettingsForm","ThemeSettingsForm"],"inputs":{"src/lib/amplify-client.ts":{"bytesInOutput":194},"src/lib/posts-provider.ts":{"bytesInOutput":4535},"src/lib/kv-provider.ts":{"bytesInOutput":2125},"src/lib/mcp-token-provider.ts":{"bytesInOutput":1513},"src/components/admin-providers.tsx":{"bytesInOutput":371},"src/components/sidebar.tsx":{"bytesInOutput":5903},"src/components/site-settings-form.tsx":{"bytesInOutput":6899},"src/components/theme-settings-form.tsx":{"bytesInOutput":21443}},"bytes":43710},"dist/chunk-DSCNWIBN.js":{"imports":[{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaUploader"],"inputs":{"src/components/media-uploader.tsx":{"bytesInOutput":9157}},"bytes":9433},"dist/chunk-D72XF3Q3.js":{"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"exports":["invalidateSiteSettingsCache"],"inputs":{"src/lib/theme-actions.ts":{"bytesInOutput":134}},"bytes":205},"dist/chunk-6MDPOMKE.js":{"imports":[{"path":"dist/chunk-DDAGBC4N.js","kind":"import-statement"},{"path":"dist/chunk-WUYJ42LP.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"@tiptap/extension-table","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-row","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-header","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-cell","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-list","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-item","kind":"import-statement","external":true},{"path":"@tiptap/extension-underline","kind":"import-statement","external":true},{"path":"@tiptap/extension-highlight","kind":"import-statement","external":true},{"path":"@tiptap/extension-text-align","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPicker","PostForm","clearAllDrafts"],"inputs":{"src/components/media-picker.tsx":{"bytesInOutput":4988},"src/components/post-form.tsx":{"bytesInOutput":26090},"src/editor/tiptap-editor.tsx":{"bytesInOutput":4202},"src/editor/toolbar.tsx":{"bytesInOutput":4823},"src/editor/table-controls.tsx":{"bytesInOutput":4227},"src/editor/image-bubble-menu.tsx":{"bytesInOutput":2901},"src/components/post-history-panel.tsx":{"bytesInOutput":8895},"src/components/static-uploader.tsx":{"bytesInOutput":7717},"src/lib/static-bundle.ts":{"bytesInOutput":2806},"src/lib/post-published-at.ts":{"bytesInOutput":1301},"src/lib/post-draft.ts":{"bytesInOutput":2725}},"bytes":71535},"dist/chunk-DDAGBC4N.js":{"imports":[{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["ImageUploadDialog","createMediaRow","getAdminCmsConfig","getMediaProcessingDefaults","sanitizeName","setAdminCmsConfigClient","uploadProcessedImage"],"inputs":{"src/lib/upload.ts":{"bytesInOutput":2048},"src/components/image-upload-dialog.tsx":{"bytesInOutput":12823},"src/lib/admin-config-client.ts":{"bytesInOutput":223}},"bytes":15465},"dist/chunk-WUYJ42LP.js":{"imports":[],"exports":["getAdminEditorExtensions","installAdminEditorExtensions"],"inputs":{"src/editor/admin-editor-extensions.ts":{"bytesInOutput":607}},"bytes":720},"dist/chunk-2ITWLRYF.js":{"imports":[],"exports":["createMedia","publicMediaUrl","setAdminMediaContext"],"inputs":{"src/lib/media.ts":{"bytesInOutput":1326}},"bytes":1415},"dist/components/login-view.js":{"imports":[{"path":"dist/chunk-IR4EB5C3.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["LoginPage"],"entryPoint":"src/components/login-view.tsx","inputs":{},"bytes":152},"dist/chunk-IR4EB5C3.js":{"imports":[{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["LoginPage"],"inputs":{"src/components/login-view.tsx":{"bytesInOutput":6967}},"bytes":7072},"dist/components/mcp-tokens-view.js":{"imports":[{"path":"dist/chunk-NI4JSVXL.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"}],"exports":["McpTokensView"],"entryPoint":"src/components/mcp-tokens-view.tsx","inputs":{},"bytes":191},"dist/chunk-NI4JSVXL.js":{"imports":[{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-DUSEHGSV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"crypto","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["McpTokensView"],"inputs":{"src/components/mcp-tokens-view.tsx":{"bytesInOutput":12281},"src/lib/mcp-token-format.ts":{"bytesInOutput":459},"src/lib/mcp-token-storage.ts":{"bytesInOutput":575}},"bytes":13591},"dist/chunk-C7G5AQ3L.js":{"imports":[],"exports":["getMcpTokenStore","setMcpTokenStore"],"inputs":{"src/lib/mcp-token-store.ts":{"bytesInOutput":297}},"bytes":379},"dist/chunk-DUSEHGSV.js":{"imports":[{"path":"dist/chunk-7TAT4AHW.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["I18nProvider","useLocale","useT"],"inputs":{"src/components/i18n-provider.tsx":{"bytesInOutput":785}},"bytes":922},"dist/chunk-7TAT4AHW.js":{"imports":[],"exports":["getDictionary","resolveLocale","translate"],"inputs":{"src/locales/en.json":{"bytesInOutput":13629},"src/locales/ja.json":{"bytesInOutput":27094},"src/lib/i18n.ts":{"bytesInOutput":1146}},"bytes":41995}}}
|
package/dist/pages/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { Admin } from '../index.js';
|
|
3
3
|
import { AdminDashboard } from '../components/admin-dashboard.js';
|
|
4
4
|
import { PostsList } from '../components/posts-list-view.js';
|
|
5
|
-
import { Post, ThemeManifest } from 'ampless';
|
|
6
5
|
import { MediaPage } from '../components/media-view.js';
|
|
6
|
+
import { ThemeManifest } from 'ampless';
|
|
7
7
|
import { LoginPage } from '../components/login-view.js';
|
|
8
8
|
import '@ampless/runtime';
|
|
9
9
|
import '../i18n-DBNV_Fgf.js';
|
|
@@ -61,15 +61,15 @@ declare function createPostsListPage(_admin: unknown): typeof PostsList;
|
|
|
61
61
|
/**
|
|
62
62
|
* Options for `createNewPostPage`.
|
|
63
63
|
*
|
|
64
|
-
* `
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
64
|
+
* `previewEndpoint` lets the template override the URL that
|
|
65
|
+
* `<PostForm>` POSTs the draft to for preview HTML. Defaults to
|
|
66
|
+
* `/admin/preview`, the Route Handler shipped by the scaffold at
|
|
67
|
+
* `app/(admin)/admin/preview/route.tsx`. Override when the admin
|
|
68
|
+
* route group is mounted at a non-default path (e.g. Next.js
|
|
69
|
+
* `basePath` or a custom prefix).
|
|
70
70
|
*/
|
|
71
71
|
interface CreateNewPostPageOptions {
|
|
72
|
-
|
|
72
|
+
previewEndpoint?: string;
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* New post page. The view is a client component — this factory module
|
|
@@ -85,16 +85,15 @@ declare function createNewPostPage(_admin: unknown, opts?: CreateNewPostPageOpti
|
|
|
85
85
|
/**
|
|
86
86
|
* Options for `createEditPostPage`.
|
|
87
87
|
*
|
|
88
|
-
* `
|
|
89
|
-
*
|
|
90
|
-
* HTML
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* fallback message asking the engineer to wire the prop.
|
|
88
|
+
* `previewEndpoint` lets the template override the URL that
|
|
89
|
+
* `<PostForm>` / `<PostHistoryPanel>` POST the draft to for preview
|
|
90
|
+
* HTML. Defaults to `/admin/preview`, the Route Handler shipped by
|
|
91
|
+
* the scaffold at `app/(admin)/admin/preview/route.tsx`. Override
|
|
92
|
+
* when the admin route group is mounted at a non-default path (e.g.
|
|
93
|
+
* Next.js `basePath` or a custom prefix).
|
|
95
94
|
*/
|
|
96
95
|
interface CreateEditPostPageOptions {
|
|
97
|
-
|
|
96
|
+
previewEndpoint?: string;
|
|
98
97
|
}
|
|
99
98
|
/**
|
|
100
99
|
* Edit post page. The view is a client component — this factory module
|
|
@@ -104,9 +103,9 @@ interface CreateEditPostPageOptions {
|
|
|
104
103
|
*
|
|
105
104
|
* The first argument is intentionally ignored — the factory existed
|
|
106
105
|
* before there was anything to hand it, and we kept the signature
|
|
107
|
-
* stable
|
|
108
|
-
*
|
|
109
|
-
*
|
|
106
|
+
* stable so existing templates don't need to remove the `admin` arg.
|
|
107
|
+
* The `opts.previewEndpoint` is the only piece the factory actually
|
|
108
|
+
* consumes today.
|
|
110
109
|
*/
|
|
111
110
|
declare function createEditPostPage(_admin: unknown, opts?: CreateEditPostPageOptions): (props: {
|
|
112
111
|
params: Promise<{
|
package/dist/pages/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../chunk-HOJJIABL.js";
|
|
4
4
|
import {
|
|
5
5
|
NewPostPage
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-JUNHTZDL.js";
|
|
7
7
|
import {
|
|
8
8
|
PluginSettingsForm
|
|
9
9
|
} from "../chunk-PHV2FQFV.js";
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
} from "../chunk-MPZ3GVZC.js";
|
|
19
19
|
import {
|
|
20
20
|
EditPostPage
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-WXUHQNZB.js";
|
|
22
22
|
import {
|
|
23
23
|
AdminProviders,
|
|
24
24
|
Sidebar,
|
|
25
25
|
SiteSettingsForm,
|
|
26
26
|
ThemeSettingsForm
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-IJVACP4G.js";
|
|
28
28
|
import "../chunk-DSCNWIBN.js";
|
|
29
29
|
import "../chunk-D72XF3Q3.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-6MDPOMKE.js";
|
|
31
31
|
import "../chunk-DDAGBC4N.js";
|
|
32
32
|
import "../chunk-WUYJ42LP.js";
|
|
33
33
|
import "../chunk-2ITWLRYF.js";
|
|
@@ -89,18 +89,18 @@ function createPostsListPage(_admin) {
|
|
|
89
89
|
// src/pages/post-new.tsx
|
|
90
90
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
91
91
|
function createNewPostPage(_admin, opts = {}) {
|
|
92
|
-
const {
|
|
92
|
+
const { previewEndpoint } = opts;
|
|
93
93
|
return function NewPostPageWrapper() {
|
|
94
|
-
return /* @__PURE__ */ jsx2(NewPostPage, {
|
|
94
|
+
return /* @__PURE__ */ jsx2(NewPostPage, { previewEndpoint });
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// src/pages/post-edit.tsx
|
|
99
99
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
100
100
|
function createEditPostPage(_admin, opts = {}) {
|
|
101
|
-
const {
|
|
101
|
+
const { previewEndpoint } = opts;
|
|
102
102
|
return function EditPostPageWrapper(props) {
|
|
103
|
-
return /* @__PURE__ */ jsx3(EditPostPage, { ...props,
|
|
103
|
+
return /* @__PURE__ */ jsx3(EditPostPage, { ...props, previewEndpoint });
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/admin",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.77",
|
|
4
4
|
"description": "Admin UI for ampless: post editor, media manager, site/theme settings",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"lucide-react": "^1.16.0",
|
|
66
66
|
"react-image-crop": "^11.0.10",
|
|
67
67
|
"tailwind-merge": "^3.6.0",
|
|
68
|
-
"@ampless/mcp-server": "1.0.0-alpha.
|
|
69
|
-
"@ampless/runtime": "1.0.0-alpha.
|
|
70
|
-
"ampless": "1.0.0-alpha.
|
|
68
|
+
"@ampless/mcp-server": "1.0.0-alpha.50",
|
|
69
|
+
"@ampless/runtime": "1.0.0-alpha.53",
|
|
70
|
+
"ampless": "1.0.0-alpha.44"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"@aws-amplify/adapter-nextjs": "^1",
|