@popcraft/kit 0.63.0 → 0.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{agent-GMAYPGWA.js → agent-TC4R7FO3.js} +1 -1
- package/dist/chunks/{builtin-KXFQFSXJ.js → builtin-S5ZIF2CW.js} +3 -3
- package/dist/chunks/{buy-credits-IXBAHQZL.js → buy-credits-NX4IKRL4.js} +2 -2
- package/dist/chunks/{check-template-Z7VEI7NC.js → check-template-NYEPYCTM.js} +2 -2
- package/dist/chunks/{chunk-NLOQNADF.js → chunk-334TCRF7.js} +1 -1
- package/dist/chunks/{chunk-SR4ELXFQ.js → chunk-5VTWGO57.js} +1 -1
- package/dist/chunks/{chunk-GNBXELH3.js → chunk-7SFOZBOW.js} +2 -2
- package/dist/chunks/{chunk-6PSMYYBR.js → chunk-B53ABTOG.js} +9 -9
- package/dist/chunks/{chunk-TXYVQ7OY.js → chunk-CLIJ3E3Z.js} +3 -3
- package/dist/chunks/{chunk-EYO7XZVH.js → chunk-ELWEUEOS.js} +42 -42
- package/dist/chunks/{chunk-P2RPBHMN.js → chunk-ESXL2G3V.js} +1 -1
- package/dist/chunks/{chunk-Q5AXPJ5F.js → chunk-HIGYPQBI.js} +4 -4
- package/dist/chunks/{chunk-VB7HMDXR.js → chunk-HNOMTK44.js} +4 -4
- package/dist/chunks/{chunk-IR7637MK.js → chunk-JNLOH2AQ.js} +1 -1
- package/dist/chunks/{chunk-RGSCZWVO.js → chunk-MELKX4NW.js} +8 -5
- package/dist/chunks/{chunk-GPGE6KTL.js → chunk-MQUQPUKF.js} +1 -1
- package/dist/chunks/{chunk-WFRZXLI2.js → chunk-NFVIGUJG.js} +3 -3
- package/dist/chunks/{chunk-OV6XF5GS.js → chunk-QAN5PIJW.js} +2 -2
- package/dist/chunks/{chunk-7KBRHLGX.js → chunk-QVTZYXSH.js} +2 -2
- package/dist/chunks/{chunk-EYHUZM3J.js → chunk-UCDKXXM3.js} +5 -5
- package/dist/chunks/{chunk-R6Y4VDFU.js → chunk-V4VAYPCO.js} +11 -11
- package/dist/chunks/{chunk-I2IITZ2E.js → chunk-VO6EGHQM.js} +6 -6
- package/dist/chunks/{chunk-TCH2IHE5.js → chunk-Z2SBSP5K.js} +2 -2
- package/dist/chunks/{client-KPT5PC4V.js → client-36LGR3J5.js} +2 -2
- package/dist/chunks/{client-23CAC3TM.js → client-F6WIHULX.js} +1 -1
- package/dist/chunks/{client-LTUBB5VU.js → client-LPTO34ZB.js} +3 -3
- package/dist/chunks/{client-actions-Z2RVVCEW.js → client-actions-MAJY5DAV.js} +5 -5
- package/dist/chunks/{dangerous-WJNLHV6U.js → dangerous-YLKVXJA7.js} +3 -3
- package/dist/chunks/{delete-current-file-J4QVPNFL.js → delete-current-file-CFPUNQHH.js} +5 -5
- package/dist/chunks/{editor-seams-U6LM247T.js → editor-seams-LW6IEY6J.js} +12 -12
- package/dist/chunks/{editor-store-IZ745SIV.js → editor-store-DR4RXA2O.js} +1 -1
- package/dist/chunks/{export-watermark-JKDZAB66.js → export-watermark-XDBNMZMG.js} +5 -5
- package/dist/chunks/{eyedropper-EYLNVSKR.js → eyedropper-ZJPQTSUO.js} +1 -1
- package/dist/chunks/{generate-media-RWJ32EH2.js → generate-media-YTBQ6EZI.js} +3 -3
- package/dist/chunks/{host-VLTEL72N.js → host-P32F4EBR.js} +6 -6
- package/dist/chunks/{integrations-OOUKYQGL.js → integrations-Q6HZN3TJ.js} +1 -1
- package/dist/chunks/{libraries-HEGYWOVU.js → libraries-2X65YXKV.js} +5 -5
- package/dist/chunks/{live-S6ZIAFJQ.js → live-3J4GXNSU.js} +1 -1
- package/dist/chunks/{media-tool-ZE2I74QC.js → media-tool-F4HLOEKV.js} +1 -1
- package/dist/chunks/{new-file-TAX23HMU.js → new-file-L4KX47TS.js} +3 -3
- package/dist/chunks/{plugin-6DFIOPC3.js → plugin-S6YCBUKZ.js} +2 -2
- package/dist/chunks/{plugin-import-767PT5HG.js → plugin-import-Y2T5PAFC.js} +16 -16
- package/dist/chunks/{presence-7XPZKDOL.js → presence-BWDFXBX7.js} +2 -2
- package/dist/chunks/{project-3LFCLULA.js → project-J4PSFEVC.js} +1 -1
- package/dist/chunks/{publish-site-F6NYXSLV.js → publish-site-XHHHEOVK.js} +6 -6
- package/dist/chunks/{publish-store-TLBU2TMC.js → publish-store-LDHDHSLQ.js} +4 -4
- package/dist/chunks/{raster-actions-IBFBAUAX.js → raster-actions-GU7RQQCN.js} +1 -1
- package/dist/chunks/{runner-H7CWSU76.js → runner-TM333P67.js} +18 -18
- package/dist/chunks/{store-RC6JB5LI.js → store-IGAVD7VW.js} +6 -6
- package/dist/chunks/{sync-4AP2RQKU.js → sync-OFYKYVRX.js} +5 -5
- package/dist/chunks/{tabs-TXXQ5D4R.js → tabs-PKP75AXO.js} +8 -8
- package/dist/chunks/{team-WDCEBPPI.js → team-JFQWCSF5.js} +1 -1
- package/dist/chunks/{team-client-27IUFMC4.js → team-client-2AN6LEGY.js} +1 -1
- package/dist/chunks/{tools-CLYBAMM2.js → tools-F7AVOET3.js} +2 -2
- package/dist/chunks/{ui-commands-CB57LRTJ.js → ui-commands-ZRQC2EXQ.js} +12 -12
- package/dist/chunks/{versions-DFW6QOCK.js → versions-QXYRM36B.js} +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -549,6 +549,9 @@ init_define_POPCRAFT_COMPONENT_IDS();
|
|
|
549
549
|
var defaults = resolveTheme(INITIAL_THEME_ID, (id) => BUILTIN_THEMES.find((t2) => t2.id === id));
|
|
550
550
|
var colors = canvasColors(defaults);
|
|
551
551
|
|
|
552
|
+
// lib/editor/overlays/frame-labels.ts
|
|
553
|
+
init_print_pages();
|
|
554
|
+
|
|
552
555
|
// lib/editor/hit-test.ts
|
|
553
556
|
function placement(state, nodeId, node) {
|
|
554
557
|
const t2 = getWorldTransform(state.document, nodeId);
|
|
@@ -4859,7 +4862,7 @@ function createPopcornSlice(set2, get2) {
|
|
|
4859
4862
|
privateMode: false,
|
|
4860
4863
|
setPrivateMode: (on) => {
|
|
4861
4864
|
set2({ privateMode: on });
|
|
4862
|
-
void import("./presence-
|
|
4865
|
+
void import("./presence-BWDFXBX7.js").then((m) => m.setPresencePrivate(on)).catch(() => {
|
|
4863
4866
|
});
|
|
4864
4867
|
},
|
|
4865
4868
|
/** Reveal every private item THIS user created (they sync to collaborators). Others' stay theirs. */
|
|
@@ -6930,7 +6933,7 @@ var useEditorStore = create()(
|
|
|
6930
6933
|
// A copy is a new file, so it is cloud-backed like any other (see lib/client/cloud/new-file.ts).
|
|
6931
6934
|
// Returns '' when it was refused (offline, signed out, plan full) or failed; nothing is left behind.
|
|
6932
6935
|
duplicateDocument: async (id) => {
|
|
6933
|
-
const { duplicateDocumentToCloud } = await import("./sync-
|
|
6936
|
+
const { duplicateDocumentToCloud } = await import("./sync-OFYKYVRX.js");
|
|
6934
6937
|
return duplicateDocumentToCloud(id);
|
|
6935
6938
|
},
|
|
6936
6939
|
deleteDocument: async (id) => {
|
|
@@ -10440,9 +10443,9 @@ if (typeof window !== "undefined") {
|
|
|
10440
10443
|
if (typeof window !== "undefined" && navigator.webdriver) {
|
|
10441
10444
|
window.__vpDesign = async (script, o = {}) => {
|
|
10442
10445
|
const [{ registerBuiltinTools, runTool }, { editorToolContext }, { createDesignPreview }] = await Promise.all([
|
|
10443
|
-
import("./tools-
|
|
10444
|
-
import("./editor-seams-
|
|
10445
|
-
import("./live-
|
|
10446
|
+
import("./tools-F7AVOET3.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-S5ZIF2CW.js")).registerBuiltinTools })),
|
|
10447
|
+
import("./editor-seams-LW6IEY6J.js"),
|
|
10448
|
+
import("./live-3J4GXNSU.js")
|
|
10446
10449
|
]);
|
|
10447
10450
|
registerBuiltinTools();
|
|
10448
10451
|
const args = JSON.stringify({ ...o.name ? { name: o.name } : {}, ...o.size ? { size: o.size } : {}, ...o.frame ? { frame: o.frame } : {}, script });
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
hostEnv,
|
|
13
13
|
plain,
|
|
14
14
|
registerBuiltinCommands
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ELWEUEOS.js";
|
|
16
16
|
import {
|
|
17
17
|
external_exports
|
|
18
18
|
} from "./chunk-VPMMB3C2.js";
|
|
@@ -646,7 +646,7 @@ var commands = [
|
|
|
646
646
|
const [{ storefrontInputs }, { STOREFRONT_TARGETS }, { bytesOf }, { zipFiles }, { EXPORT_NODE_CAP }] = await Promise.all([
|
|
647
647
|
import("./storefront-prepare-46ZXGRO7.js"),
|
|
648
648
|
import("./storefront-OMB6YHQG.js"),
|
|
649
|
-
import("./project-
|
|
649
|
+
import("./project-J4PSFEVC.js"),
|
|
650
650
|
import("./zip-export-UR4GGFYY.js"),
|
|
651
651
|
import("./tree-PBB77TXT.js")
|
|
652
652
|
]);
|
|
@@ -843,7 +843,7 @@ var pluginRun = defineCommand({
|
|
|
843
843
|
}
|
|
844
844
|
},
|
|
845
845
|
run: async (p, ctx) => {
|
|
846
|
-
const { runPlugin } = await import("./host-
|
|
846
|
+
const { runPlugin } = await import("./host-P32F4EBR.js");
|
|
847
847
|
await runPlugin(p.pluginId, p.commandId);
|
|
848
848
|
ctx.notice(`Started ${p.pluginId}.`);
|
|
849
849
|
return {
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
requestImageAction,
|
|
29
29
|
sizeForAspect,
|
|
30
30
|
vectorSupport
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ESXL2G3V.js";
|
|
32
32
|
import {
|
|
33
33
|
useEditorStore
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MELKX4NW.js";
|
|
35
35
|
import {
|
|
36
36
|
withHistoryGroup
|
|
37
37
|
} from "./chunk-XYXJGZE5.js";
|
|
@@ -7,10 +7,10 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
builtinCommands,
|
|
9
9
|
registerBuiltinCommands
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ELWEUEOS.js";
|
|
11
11
|
import {
|
|
12
12
|
toolView
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CLIJ3E3Z.js";
|
|
14
14
|
import {
|
|
15
15
|
init_define_POPCRAFT_COMPONENT_IDS
|
|
16
16
|
} from "./chunk-3JQ2IBTW.js";
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
} from "./chunk-B2HNUDGB.js";
|
|
22
22
|
import {
|
|
23
23
|
syncStatus
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HNOMTK44.js";
|
|
25
25
|
import {
|
|
26
26
|
usePluginStore
|
|
27
27
|
} from "./chunk-ZJNIMDB7.js";
|
|
28
28
|
import {
|
|
29
29
|
setPluginTabs,
|
|
30
30
|
useEditorStore
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MELKX4NW.js";
|
|
32
32
|
import {
|
|
33
33
|
openBeside
|
|
34
34
|
} from "./chunk-IZU62IK5.js";
|
|
@@ -69,7 +69,7 @@ init_define_POPCRAFT_COMPONENT_IDS();
|
|
|
69
69
|
// lib/plugins/api.ts
|
|
70
70
|
init_define_POPCRAFT_COMPONENT_IDS();
|
|
71
71
|
async function handlePluginCall(env, method, params = {}) {
|
|
72
|
-
const { dispatchPluginCall } = await import("./plugin-
|
|
72
|
+
const { dispatchPluginCall } = await import("./plugin-S6YCBUKZ.js");
|
|
73
73
|
return dispatchPluginCall(env, method, params);
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -586,7 +586,7 @@ async function runPlugin(pluginId, commandId, opts = {}) {
|
|
|
586
586
|
if (!openBeside(url)) throw new Error("The browser blocked the new tab");
|
|
587
587
|
},
|
|
588
588
|
createDocument: async (opts2) => {
|
|
589
|
-
const { createFreshFileOrExplain } = await import("./new-file-
|
|
589
|
+
const { createFreshFileOrExplain } = await import("./new-file-L4KX47TS.js");
|
|
590
590
|
const created = await createFreshFileOrExplain({}, { name: opts2?.name });
|
|
591
591
|
if (!created.ok) throw new Error(created.reason === "plan" ? "Plan limit reached" : created.reason === "guest-limit" ? "Sign in to create another file" : `Could not create file (${created.reason})`);
|
|
592
592
|
await useEditorStore.getState().openDocument(created.docId);
|
|
@@ -795,7 +795,7 @@ if (typeof window !== "undefined") {
|
|
|
795
795
|
const name = d.name || "Imported";
|
|
796
796
|
void (async () => {
|
|
797
797
|
try {
|
|
798
|
-
const { importViaPlugin, applyPluginLayoutIr } = await import("./plugin-import-
|
|
798
|
+
const { importViaPlugin, applyPluginLayoutIr } = await import("./plugin-import-Y2T5PAFC.js");
|
|
799
799
|
if (d.ir && typeof d.ir === "object") {
|
|
800
800
|
await applyPluginLayoutIr(d.ir, { mode, name });
|
|
801
801
|
return;
|
|
@@ -6,14 +6,14 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
pluginRun
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NFVIGUJG.js";
|
|
10
10
|
import {
|
|
11
11
|
fileCommands,
|
|
12
12
|
fontTeamRemove,
|
|
13
13
|
integrationConfirmCommands,
|
|
14
14
|
mediaDelete,
|
|
15
15
|
publishCommands
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ELWEUEOS.js";
|
|
17
17
|
import {
|
|
18
18
|
external_exports
|
|
19
19
|
} from "./chunk-VPMMB3C2.js";
|
|
@@ -53,7 +53,7 @@ var collabSetSpotlight = defineCommand({
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
run: async ({ on }, ctx) => {
|
|
56
|
-
const { setSpotlight } = await import("./presence-
|
|
56
|
+
const { setSpotlight } = await import("./presence-BWDFXBX7.js");
|
|
57
57
|
setSpotlight(on);
|
|
58
58
|
ctx.notice(on ? "Spotlight on \u2014 everyone is following this view." : "Spotlight off.");
|
|
59
59
|
return { summary: on ? "Spotlight on" : "Spotlight off", data: { spotlight: on } };
|
|
@@ -80,7 +80,7 @@ var collabRevealPrivate = defineCommand({
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
run: async (_p, ctx) => {
|
|
83
|
-
const { useEditorStore } = await import("./editor-store-
|
|
83
|
+
const { useEditorStore } = await import("./editor-store-DR4RXA2O.js");
|
|
84
84
|
const before = Object.values(useEditorStore.getState().document.nodes).filter((n) => n.privateTo).length;
|
|
85
85
|
useEditorStore.getState().revealPrivate();
|
|
86
86
|
ctx.notice(before ? `Revealed ${before} private item${before === 1 ? "" : "s"}.` : "Nothing was private.");
|
|
@@ -144,7 +144,7 @@ var documentDelete = defineCommand({
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
run: async ({ id }, ctx) => {
|
|
147
|
-
const { useEditorStore } = await import("./editor-store-
|
|
147
|
+
const { useEditorStore } = await import("./editor-store-DR4RXA2O.js");
|
|
148
148
|
const wasOpen = useEditorStore.getState().document.id === id;
|
|
149
149
|
await useEditorStore.getState().deleteDocument(id);
|
|
150
150
|
ctx.notice("Deleted the document.");
|
|
@@ -188,7 +188,7 @@ var libraryPublish = defineCommand({
|
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
190
|
run: async (p, ctx) => {
|
|
191
|
-
const { publishLibrary } = await import("./libraries-
|
|
191
|
+
const { publishLibrary } = await import("./libraries-2X65YXKV.js");
|
|
192
192
|
const doc = ctx.doc();
|
|
193
193
|
const pick = {
|
|
194
194
|
componentIds: p.componentIds ?? Object.keys(doc.components ?? {}),
|
|
@@ -220,7 +220,7 @@ var libraryUnpublish = defineCommand({
|
|
|
220
220
|
},
|
|
221
221
|
run: async ({ libraryId }, ctx) => {
|
|
222
222
|
if (!libraryId.trim()) throw new CommandError("Which library? Pass its `libraryId`.", "invalid_params");
|
|
223
|
-
const { unpublishLibrary } = await import("./libraries-
|
|
223
|
+
const { unpublishLibrary } = await import("./libraries-2X65YXKV.js");
|
|
224
224
|
await unpublishLibrary(libraryId);
|
|
225
225
|
ctx.notice(`Unpublished library ${libraryId}.`);
|
|
226
226
|
return { summary: `Unpublished library ${libraryId}`, data: { libraryId, unpublished: true } };
|
|
@@ -232,8 +232,8 @@ var libraryCommands = [libraryPublish, libraryUnpublish];
|
|
|
232
232
|
init_define_POPCRAFT_COMPONENT_IDS();
|
|
233
233
|
async function findVersion(id) {
|
|
234
234
|
const [{ useEditorStore }, { versionLabel }] = await Promise.all([
|
|
235
|
-
import("./editor-store-
|
|
236
|
-
import("./versions-
|
|
235
|
+
import("./editor-store-DR4RXA2O.js"),
|
|
236
|
+
import("./versions-QXYRM36B.js")
|
|
237
237
|
]);
|
|
238
238
|
const meta = useEditorStore.getState().versions.find((v) => v.id === id);
|
|
239
239
|
if (!meta) {
|
|
@@ -266,7 +266,7 @@ var versionRestore = defineCommand({
|
|
|
266
266
|
},
|
|
267
267
|
run: async ({ id }) => {
|
|
268
268
|
const found = await findVersion(id);
|
|
269
|
-
const { restoreVersion } = await import("./versions-
|
|
269
|
+
const { restoreVersion } = await import("./versions-QXYRM36B.js");
|
|
270
270
|
await restoreVersion(found.meta);
|
|
271
271
|
return { summary: `Restored \u201C${found.label}\u201D`, data: { id, label: found.label, restored: true } };
|
|
272
272
|
}
|
|
@@ -291,7 +291,7 @@ var versionDelete = defineCommand({
|
|
|
291
291
|
},
|
|
292
292
|
run: async ({ id }, ctx) => {
|
|
293
293
|
const found = await findVersion(id);
|
|
294
|
-
const { deleteVersion } = await import("./versions-
|
|
294
|
+
const { deleteVersion } = await import("./versions-QXYRM36B.js");
|
|
295
295
|
await deleteVersion(found.meta);
|
|
296
296
|
ctx.notice(`Deleted the version \u201C${found.label}\u201D.`);
|
|
297
297
|
return { summary: `Deleted the version \u201C${found.label}\u201D`, data: { id, label: found.label, deleted: true } };
|
|
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
registerAppCommands
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B53ABTOG.js";
|
|
10
10
|
import {
|
|
11
11
|
storeOpsSeam
|
|
12
12
|
} from "./chunk-UVWTSHLG.js";
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
sameResolution,
|
|
24
24
|
surfaceSize,
|
|
25
25
|
windowCssSize
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ELWEUEOS.js";
|
|
27
27
|
import {
|
|
28
28
|
notice
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QAN5PIJW.js";
|
|
30
30
|
import {
|
|
31
31
|
agentContext
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CLIJ3E3Z.js";
|
|
33
33
|
import {
|
|
34
34
|
collabSession,
|
|
35
35
|
syncStatus
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-HNOMTK44.js";
|
|
37
37
|
import {
|
|
38
38
|
loadEntitlements
|
|
39
39
|
} from "./chunk-QDH7K5TG.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
persist,
|
|
49
49
|
useEditorStore
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-MELKX4NW.js";
|
|
51
51
|
import {
|
|
52
52
|
create
|
|
53
53
|
} from "./chunk-YB2RTI5I.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-QDH7K5TG.js";
|
|
10
10
|
import {
|
|
11
11
|
activeTeamWorkspaceId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-334TCRF7.js";
|
|
13
13
|
import {
|
|
14
14
|
prepareTemplate
|
|
15
15
|
} from "./chunk-FLF5E6T2.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-A7DXX5A5.js";
|
|
23
23
|
import {
|
|
24
24
|
markLibraryDocument
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MELKX4NW.js";
|
|
26
26
|
import {
|
|
27
27
|
GUEST_FILE_LIMIT
|
|
28
28
|
} from "./chunk-DFUHSE3I.js";
|
|
@@ -7,7 +7,7 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
defaultMeasure,
|
|
9
9
|
placePicture
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7SFOZBOW.js";
|
|
11
11
|
import "./chunk-AJDUB6PH.js";
|
|
12
12
|
import {
|
|
13
13
|
api
|
|
@@ -122,7 +122,7 @@ async function placeLibraryItem(item, opts = {}) {
|
|
|
122
122
|
}
|
|
123
123
|
if (item.contentType.startsWith("video/")) {
|
|
124
124
|
const file = await libraryFile(item, opts);
|
|
125
|
-
const [{ useEditorStore }, { placeMediaFile }] = await Promise.all([import("./editor-store-
|
|
125
|
+
const [{ useEditorStore }, { placeMediaFile }] = await Promise.all([import("./editor-store-DR4RXA2O.js"), import("./media-tool-F4HLOEKV.js")]);
|
|
126
126
|
const cam = useEditorStore.getState().camera;
|
|
127
127
|
await placeMediaFile(file, { kind: "point", ...opts.at ?? { x: cam.x, y: cam.y } });
|
|
128
128
|
return useEditorStore.getState().selection[0] ?? null;
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
requestEmbeddings,
|
|
17
17
|
requestImage,
|
|
18
18
|
requestImageAction
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-ESXL2G3V.js";
|
|
20
|
+
import "./chunk-JNLOH2AQ.js";
|
|
21
21
|
import "./chunk-U6ZHQH5G.js";
|
|
22
22
|
import "./chunk-QDH7K5TG.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-334TCRF7.js";
|
|
24
24
|
import "./chunk-N6ZQJYXS.js";
|
|
25
25
|
import "./chunk-A7DXX5A5.js";
|
|
26
26
|
import "./chunk-DFUHSE3I.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
selectedVectorTarget,
|
|
17
17
|
startImageAction,
|
|
18
18
|
startImageGeneration
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QAN5PIJW.js";
|
|
20
20
|
import "./chunk-XMBCZSHZ.js";
|
|
21
21
|
import "./chunk-VPMMB3C2.js";
|
|
22
22
|
import "./chunk-UCAF3EVO.js";
|
|
@@ -28,19 +28,19 @@ import "./chunk-45HF4N6B.js";
|
|
|
28
28
|
import "./chunk-B7Z4YAGY.js";
|
|
29
29
|
import "./chunk-L6H7PZJ5.js";
|
|
30
30
|
import "./chunk-B2HNUDGB.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-ESXL2G3V.js";
|
|
32
|
+
import "./chunk-JNLOH2AQ.js";
|
|
33
33
|
import "./chunk-U6ZHQH5G.js";
|
|
34
34
|
import "./chunk-QDH7K5TG.js";
|
|
35
35
|
import "./chunk-Q2NQLUI6.js";
|
|
36
36
|
import "./chunk-FFKB5KMS.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-334TCRF7.js";
|
|
38
38
|
import "./chunk-UUBN4FJV.js";
|
|
39
39
|
import "./chunk-7P6M3YEF.js";
|
|
40
40
|
import "./chunk-GX7QVJ2T.js";
|
|
41
41
|
import "./chunk-N6ZQJYXS.js";
|
|
42
42
|
import "./chunk-A7DXX5A5.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-MELKX4NW.js";
|
|
44
44
|
import "./chunk-IZU62IK5.js";
|
|
45
45
|
import "./chunk-XYXJGZE5.js";
|
|
46
46
|
import "./chunk-BVEE4DCP.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
confirmTierCommands,
|
|
9
9
|
dangerousCommands,
|
|
10
10
|
registerDangerousCommands
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-V4VAYPCO.js";
|
|
12
|
+
import "./chunk-NFVIGUJG.js";
|
|
13
13
|
import "./chunk-UVWTSHLG.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ELWEUEOS.js";
|
|
15
15
|
import "./chunk-VWLOSP5P.js";
|
|
16
16
|
import "./chunk-XZCVQPV6.js";
|
|
17
17
|
import "./chunk-NHPK5RDE.js";
|
|
@@ -6,21 +6,21 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
syncStatus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HNOMTK44.js";
|
|
10
10
|
import "./chunk-M7KIUV7L.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-Z2SBSP5K.js";
|
|
12
12
|
import "./chunk-QDH7K5TG.js";
|
|
13
13
|
import "./chunk-XNUX4MRE.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-334TCRF7.js";
|
|
15
15
|
import "./chunk-FLF5E6T2.js";
|
|
16
16
|
import {
|
|
17
17
|
cloudApi
|
|
18
18
|
} from "./chunk-N6ZQJYXS.js";
|
|
19
19
|
import "./chunk-A7DXX5A5.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-MQUQPUKF.js";
|
|
21
21
|
import {
|
|
22
22
|
useEditorStore
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MELKX4NW.js";
|
|
24
24
|
import "./chunk-IZU62IK5.js";
|
|
25
25
|
import "./chunk-XYXJGZE5.js";
|
|
26
26
|
import "./chunk-BVEE4DCP.js";
|
|
@@ -7,20 +7,20 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
editBlockReason,
|
|
9
9
|
editorToolContext
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-VO6EGHQM.js";
|
|
11
|
+
import "./chunk-B53ABTOG.js";
|
|
12
12
|
import "./chunk-UVWTSHLG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ELWEUEOS.js";
|
|
14
14
|
import "./chunk-VWLOSP5P.js";
|
|
15
15
|
import "./chunk-XZCVQPV6.js";
|
|
16
16
|
import "./chunk-NHPK5RDE.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-QAN5PIJW.js";
|
|
18
18
|
import "./chunk-XMBCZSHZ.js";
|
|
19
19
|
import "./chunk-7ZG55E52.js";
|
|
20
20
|
import "./chunk-IBHIPO2U.js";
|
|
21
21
|
import "./chunk-CO5QRETZ.js";
|
|
22
22
|
import "./chunk-VPMMB3C2.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-CLIJ3E3Z.js";
|
|
24
24
|
import "./chunk-PJ2EDRZS.js";
|
|
25
25
|
import "./chunk-UCAF3EVO.js";
|
|
26
26
|
import "./chunk-UKEUJ3JW.js";
|
|
@@ -33,17 +33,17 @@ import "./chunk-B7Z4YAGY.js";
|
|
|
33
33
|
import "./chunk-L6H7PZJ5.js";
|
|
34
34
|
import "./chunk-M7IAYQSL.js";
|
|
35
35
|
import "./chunk-B2HNUDGB.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-ESXL2G3V.js";
|
|
37
|
+
import "./chunk-JNLOH2AQ.js";
|
|
38
38
|
import "./chunk-U6ZHQH5G.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-HNOMTK44.js";
|
|
40
40
|
import "./chunk-M7KIUV7L.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-Z2SBSP5K.js";
|
|
42
42
|
import "./chunk-QDH7K5TG.js";
|
|
43
43
|
import "./chunk-XNUX4MRE.js";
|
|
44
44
|
import "./chunk-Q2NQLUI6.js";
|
|
45
45
|
import "./chunk-FFKB5KMS.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-334TCRF7.js";
|
|
47
47
|
import "./chunk-FLF5E6T2.js";
|
|
48
48
|
import "./chunk-QU7FBHQU.js";
|
|
49
49
|
import "./chunk-UUBN4FJV.js";
|
|
@@ -53,8 +53,8 @@ import "./chunk-B5A62GDB.js";
|
|
|
53
53
|
import "./chunk-MO6X2CU5.js";
|
|
54
54
|
import "./chunk-N6ZQJYXS.js";
|
|
55
55
|
import "./chunk-A7DXX5A5.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-MQUQPUKF.js";
|
|
57
|
+
import "./chunk-MELKX4NW.js";
|
|
58
58
|
import "./chunk-IZU62IK5.js";
|
|
59
59
|
import "./chunk-XYXJGZE5.js";
|
|
60
60
|
import "./chunk-BVEE4DCP.js";
|
|
@@ -6,24 +6,24 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
syncStatus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HNOMTK44.js";
|
|
10
10
|
import "./chunk-M7KIUV7L.js";
|
|
11
11
|
import {
|
|
12
12
|
isGuest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z2SBSP5K.js";
|
|
14
14
|
import {
|
|
15
15
|
cachedLimits,
|
|
16
16
|
loadEntitlements
|
|
17
17
|
} from "./chunk-QDH7K5TG.js";
|
|
18
18
|
import "./chunk-XNUX4MRE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-334TCRF7.js";
|
|
20
20
|
import "./chunk-FLF5E6T2.js";
|
|
21
21
|
import {
|
|
22
22
|
cloudApi
|
|
23
23
|
} from "./chunk-N6ZQJYXS.js";
|
|
24
24
|
import "./chunk-A7DXX5A5.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-MQUQPUKF.js";
|
|
26
|
+
import "./chunk-MELKX4NW.js";
|
|
27
27
|
import "./chunk-IZU62IK5.js";
|
|
28
28
|
import "./chunk-XYXJGZE5.js";
|
|
29
29
|
import "./chunk-BVEE4DCP.js";
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
AiClientError,
|
|
17
17
|
aiFetch
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-ESXL2G3V.js";
|
|
19
|
+
import "./chunk-JNLOH2AQ.js";
|
|
20
20
|
import {
|
|
21
21
|
useAiStore
|
|
22
22
|
} from "./chunk-U6ZHQH5G.js";
|
|
23
23
|
import "./chunk-QDH7K5TG.js";
|
|
24
24
|
import "./chunk-Q2NQLUI6.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-334TCRF7.js";
|
|
26
26
|
import "./chunk-UUBN4FJV.js";
|
|
27
27
|
import "./chunk-7P6M3YEF.js";
|
|
28
28
|
import "./chunk-N6ZQJYXS.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
runPluginWithImport,
|
|
20
20
|
runningSessionFor,
|
|
21
21
|
setEnabled
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UCDKXXM3.js";
|
|
23
23
|
import "./chunk-F524KBL7.js";
|
|
24
24
|
import "./chunk-VPMMB3C2.js";
|
|
25
25
|
import "./chunk-PJ2EDRZS.js";
|
|
@@ -30,14 +30,14 @@ import "./chunk-UI5OQ2D4.js";
|
|
|
30
30
|
import "./chunk-45HF4N6B.js";
|
|
31
31
|
import "./chunk-B7Z4YAGY.js";
|
|
32
32
|
import "./chunk-B2HNUDGB.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-HNOMTK44.js";
|
|
34
34
|
import "./chunk-M7KIUV7L.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-Z2SBSP5K.js";
|
|
36
36
|
import "./chunk-QDH7K5TG.js";
|
|
37
37
|
import "./chunk-XNUX4MRE.js";
|
|
38
38
|
import "./chunk-Q2NQLUI6.js";
|
|
39
39
|
import "./chunk-FFKB5KMS.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-334TCRF7.js";
|
|
41
41
|
import "./chunk-FLF5E6T2.js";
|
|
42
42
|
import "./chunk-6EPAKBA3.js";
|
|
43
43
|
import "./chunk-UUBN4FJV.js";
|
|
@@ -46,8 +46,8 @@ import "./chunk-GX7QVJ2T.js";
|
|
|
46
46
|
import "./chunk-ZJNIMDB7.js";
|
|
47
47
|
import "./chunk-N6ZQJYXS.js";
|
|
48
48
|
import "./chunk-A7DXX5A5.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-MQUQPUKF.js";
|
|
50
|
+
import "./chunk-MELKX4NW.js";
|
|
51
51
|
import "./chunk-IZU62IK5.js";
|
|
52
52
|
import "./chunk-XYXJGZE5.js";
|
|
53
53
|
import "./chunk-BVEE4DCP.js";
|
|
@@ -7,21 +7,21 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
onSyncStatus,
|
|
9
9
|
syncStatus
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HNOMTK44.js";
|
|
11
11
|
import "./chunk-M7KIUV7L.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-Z2SBSP5K.js";
|
|
13
13
|
import "./chunk-QDH7K5TG.js";
|
|
14
14
|
import "./chunk-XNUX4MRE.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-334TCRF7.js";
|
|
16
16
|
import "./chunk-FLF5E6T2.js";
|
|
17
17
|
import {
|
|
18
18
|
api
|
|
19
19
|
} from "./chunk-N6ZQJYXS.js";
|
|
20
20
|
import "./chunk-A7DXX5A5.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-MQUQPUKF.js";
|
|
22
22
|
import {
|
|
23
23
|
useEditorStore
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MELKX4NW.js";
|
|
25
25
|
import "./chunk-IZU62IK5.js";
|
|
26
26
|
import "./chunk-XYXJGZE5.js";
|
|
27
27
|
import "./chunk-BVEE4DCP.js";
|