@popcraft/kit 0.53.18 → 0.53.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/chunks/{agent-QSCYOPEH.js → agent-QQAYZ5WB.js} +1 -1
  2. package/dist/chunks/{builtin-5P5A2IMY.js → builtin-KE5VRKPQ.js} +3 -3
  3. package/dist/chunks/{buy-credits-LK6QXRXO.js → buy-credits-R6PSWUM2.js} +2 -2
  4. package/dist/chunks/{check-template-SWWOPCV6.js → check-template-BMGDUIRP.js} +2 -2
  5. package/dist/chunks/{chunk-ASMDKFSL.js → chunk-5IRV2SAQ.js} +1 -1
  6. package/dist/chunks/{chunk-735IMMB6.js → chunk-6DDTIGDY.js} +3 -3
  7. package/dist/chunks/{chunk-LC62KWV5.js → chunk-DSFTJ6BI.js} +2 -2
  8. package/dist/chunks/{chunk-MGLGBL5N.js → chunk-DW7H5O5F.js} +9 -9
  9. package/dist/chunks/{chunk-GZWJRQRF.js → chunk-ERXWGXIF.js} +1 -1
  10. package/dist/chunks/{chunk-LPGPKUME.js → chunk-FIFDX2PJ.js} +1 -1
  11. package/dist/chunks/{chunk-VWL5XI7L.js → chunk-GYRYPM3N.js} +11 -11
  12. package/dist/chunks/{chunk-7PRWYB7R.js → chunk-HE2HQQF7.js} +4 -4
  13. package/dist/chunks/{chunk-ETC4DTCD.js → chunk-J6Q7JXER.js} +2 -2
  14. package/dist/chunks/{chunk-7R77JLIP.js → chunk-JGJZXJRJ.js} +1 -1
  15. package/dist/chunks/{chunk-C4JKLCPX.js → chunk-JUHBI75X.js} +5 -5
  16. package/dist/chunks/{chunk-NK4G5HDO.js → chunk-K3AZGLLD.js} +4 -4
  17. package/dist/chunks/{chunk-56ZMLITS.js → chunk-KT3VWNJF.js} +2 -2
  18. package/dist/chunks/{chunk-L5MSOOYG.js → chunk-PIVR4JOX.js} +2 -2
  19. package/dist/chunks/{chunk-7HICNIH2.js → chunk-RCYPJTDS.js} +42 -42
  20. package/dist/chunks/{chunk-F4AFFSFA.js → chunk-USXZ2Z7E.js} +3 -3
  21. package/dist/chunks/{chunk-E6LFTCYF.js → chunk-VO5AERM4.js} +4 -4
  22. package/dist/chunks/{chunk-OK3DQPII.js → chunk-Y7SVEIXZ.js} +6 -5
  23. package/dist/chunks/{chunk-AN22TGNL.js → chunk-ZDBDOXNF.js} +1 -1
  24. package/dist/chunks/{client-7ABQN2CO.js → client-6AZSG3ZL.js} +1 -1
  25. package/dist/chunks/{client-3JR3D6HI.js → client-DBACY2LR.js} +3 -3
  26. package/dist/chunks/{client-LHZIJH23.js → client-R43QZ4QR.js} +2 -2
  27. package/dist/chunks/{client-actions-VNMC4A7Z.js → client-actions-FBVLWSY2.js} +5 -5
  28. package/dist/chunks/{dangerous-VGWX2YEI.js → dangerous-N4RC6QXK.js} +3 -3
  29. package/dist/chunks/{delete-current-file-5IZOBWY2.js → delete-current-file-KB34A5H7.js} +5 -5
  30. package/dist/chunks/{editor-seams-4M7R4HNW.js → editor-seams-YTHZIEZ2.js} +10 -10
  31. package/dist/chunks/{editor-store-L4V3QA4A.js → editor-store-I7XK3PGQ.js} +1 -1
  32. package/dist/chunks/{export-watermark-3FQ7QOYR.js → export-watermark-6YAEKDKK.js} +5 -5
  33. package/dist/chunks/{eyedropper-P3ZONVHS.js → eyedropper-UWISBVOX.js} +1 -1
  34. package/dist/chunks/{generate-media-SSWL4Y2L.js → generate-media-6VUWK57N.js} +3 -3
  35. package/dist/chunks/{host-VSSIPMLW.js → host-MIEETQXP.js} +6 -6
  36. package/dist/chunks/{integrations-OQV4PCCS.js → integrations-DWTRYAL5.js} +1 -1
  37. package/dist/chunks/{libraries-CWODJKJI.js → libraries-LHFSA7JJ.js} +5 -5
  38. package/dist/chunks/{live-DQITX7DB.js → live-6C5QKVRX.js} +1 -1
  39. package/dist/chunks/{media-tool-3IFICUR3.js → media-tool-Z6ND5SKE.js} +1 -1
  40. package/dist/chunks/{new-file-GYD6TJYO.js → new-file-ZD27RMLG.js} +3 -3
  41. package/dist/chunks/{plugin-V2XZNMZE.js → plugin-IIVMHWXJ.js} +2 -2
  42. package/dist/chunks/{plugin-import-UFRJVWX3.js → plugin-import-VVPFCMMO.js} +14 -14
  43. package/dist/chunks/{presence-GGLTIRS2.js → presence-X4HNN2NN.js} +2 -2
  44. package/dist/chunks/{project-XENIE5UL.js → project-ZSZAT2MB.js} +1 -1
  45. package/dist/chunks/{publish-site-HBMHT6ZH.js → publish-site-B36S2CS7.js} +6 -6
  46. package/dist/chunks/{publish-store-PFXW7OCQ.js → publish-store-7ZCGU56C.js} +4 -4
  47. package/dist/chunks/{raster-actions-ZGFZYTAH.js → raster-actions-I5TJ5I7S.js} +1 -1
  48. package/dist/chunks/{runner-KSX7DGFW.js → runner-7PSSJXP6.js} +17 -17
  49. package/dist/chunks/{store-4GUNFV7U.js → store-D7M2QNWT.js} +6 -6
  50. package/dist/chunks/{sync-K2VRUB23.js → sync-GQHOTPE4.js} +5 -5
  51. package/dist/chunks/{tabs-A6SMBMFX.js → tabs-ZRZQW5HB.js} +8 -8
  52. package/dist/chunks/{team-T3SVBBAO.js → team-GZOX67CF.js} +1 -1
  53. package/dist/chunks/{team-client-S3GCAISX.js → team-client-PQQV3564.js} +1 -1
  54. package/dist/chunks/{tools-JRQSLBJK.js → tools-KNCUAUHK.js} +2 -2
  55. package/dist/chunks/{ui-commands-ECGJ3AYH.js → ui-commands-WNPLJR4F.js} +12 -12
  56. package/dist/chunks/{versions-MP3FT4IV.js → versions-SFXXLEBS.js} +5 -5
  57. package/dist/index.js +1 -1
  58. package/package.json +1 -1
@@ -18,7 +18,7 @@ import {
18
18
  renderDocument,
19
19
  toolView,
20
20
  underReviewKit
21
- } from "./chunk-735IMMB6.js";
21
+ } from "./chunk-6DDTIGDY.js";
22
22
  import "./chunk-T2U7UWFL.js";
23
23
  import "./chunk-A2DCJZGE.js";
24
24
  import "./chunk-SZHIVENR.js";
@@ -7,8 +7,8 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinTools,
9
9
  registerBuiltinTools
10
- } from "./chunk-L5MSOOYG.js";
11
- import "./chunk-7HICNIH2.js";
10
+ } from "./chunk-PIVR4JOX.js";
11
+ import "./chunk-RCYPJTDS.js";
12
12
  import "./chunk-LJZR7CU3.js";
13
13
  import "./chunk-JNBUJE2Z.js";
14
14
  import "./chunk-EGUH2RFR.js";
@@ -19,7 +19,7 @@ import "./chunk-SH6T47YM.js";
19
19
  import "./chunk-O6H6N3RA.js";
20
20
  import "./chunk-WA5G5BAY.js";
21
21
  import "./chunk-UDDWBCFE.js";
22
- import "./chunk-735IMMB6.js";
22
+ import "./chunk-6DDTIGDY.js";
23
23
  import "./chunk-T2U7UWFL.js";
24
24
  import "./chunk-ZX64TIVJ.js";
25
25
  import "./chunk-AKNWNB6A.js";
@@ -7,11 +7,11 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  HYPERY_TEAM_HEADER,
9
9
  hyperyRequestHeaders
10
- } from "./chunk-ASMDKFSL.js";
10
+ } from "./chunk-5IRV2SAQ.js";
11
11
  import "./chunk-6TMH7HCQ.js";
12
12
  import {
13
13
  useHyperyTeam
14
- } from "./chunk-7R77JLIP.js";
14
+ } from "./chunk-JGJZXJRJ.js";
15
15
  import {
16
16
  ApiError,
17
17
  inAppPurchases,
@@ -6,10 +6,10 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  appCommands
9
- } from "./chunk-MGLGBL5N.js";
9
+ } from "./chunk-DW7H5O5F.js";
10
10
  import {
11
11
  builtinCommands
12
- } from "./chunk-7HICNIH2.js";
12
+ } from "./chunk-RCYPJTDS.js";
13
13
  import "./chunk-LJZR7CU3.js";
14
14
  import "./chunk-JNBUJE2Z.js";
15
15
  import "./chunk-EGUH2RFR.js";
@@ -11,7 +11,7 @@ import {
11
11
  activeHyperyTeamId,
12
12
  activeTeamWorkspaceId,
13
13
  useHyperyTeam
14
- } from "./chunk-7R77JLIP.js";
14
+ } from "./chunk-JGJZXJRJ.js";
15
15
  import {
16
16
  inAppPurchases
17
17
  } from "./chunk-7OJZZPU4.js";
@@ -57,19 +57,19 @@ async function renderDocument(doc, nodeIds, options) {
57
57
  function generateCapability(ctx) {
58
58
  return async (prompt, options = {}) => {
59
59
  if (options.format === "audio") {
60
- const { requestAudio } = await import("./client-3JR3D6HI.js");
60
+ const { requestAudio } = await import("./client-DBACY2LR.js");
61
61
  const { signal: signal2, format: _f, ...rest2 } = options;
62
62
  void _f;
63
63
  return requestAudio({ prompt, ...rest2 }, signal2 ?? ctx.signal);
64
64
  }
65
65
  if (options.format === "video") {
66
- const { generateVideoFile } = await import("./generate-media-SSWL4Y2L.js");
66
+ const { generateVideoFile } = await import("./generate-media-6VUWK57N.js");
67
67
  const { format: _f, signal: signal2, ...rest2 } = options;
68
68
  void _f;
69
69
  return generateVideoFile({ ...rest2, prompt, doc: ctx.doc() }, { signal: signal2 ?? ctx.signal });
70
70
  }
71
71
  const [{ requestImage }, { effectiveImageModel, useAiStore }] = await Promise.all([
72
- import("./client-3JR3D6HI.js"),
72
+ import("./client-DBACY2LR.js"),
73
73
  import("./client-store-4J5MJDAW.js")
74
74
  ]);
75
75
  const modelId = effectiveImageModel(useAiStore.getState());
@@ -91,9 +91,9 @@ async function placeStockPhoto(photo, opts = {}) {
91
91
  }
92
92
  async function placePicture(imported, opts = {}) {
93
93
  const [{ useEditorStore }, { photoFrameOf }, { placeImage }] = await Promise.all([
94
- import("./editor-store-L4V3QA4A.js"),
94
+ import("./editor-store-I7XK3PGQ.js"),
95
95
  import("../lib/document/photo-frames.js"),
96
- import("./media-tool-3IFICUR3.js")
96
+ import("./media-tool-Z6ND5SKE.js")
97
97
  ]);
98
98
  const st = useEditorStore.getState();
99
99
  const frame = photoFrameOf(st.document.nodes, opts.targetId !== void 0 ? opts.targetId : st.selection[0] ?? null);
@@ -8,7 +8,7 @@ import {
8
8
  needsSelection,
9
9
  pageGo,
10
10
  selectionIsPicture
11
- } from "./chunk-7HICNIH2.js";
11
+ } from "./chunk-RCYPJTDS.js";
12
12
  import {
13
13
  external_exports
14
14
  } from "./chunk-UDDWBCFE.js";
@@ -31,7 +31,7 @@ var none = external_exports.object({});
31
31
  var emit = (name, detail) => {
32
32
  if (typeof window !== "undefined") window.dispatchEvent(new CustomEvent(name, { detail }));
33
33
  };
34
- var store = () => import("./editor-store-L4V3QA4A.js").then((m) => m.useEditorStore.getState());
34
+ var store = () => import("./editor-store-I7XK3PGQ.js").then((m) => m.useEditorStore.getState());
35
35
  var MODE_IDS = MODE_LIST.map((m) => m.id);
36
36
  var MODE_ALIASES = { JAM: "POPCORN", DEV: "VIEW" };
37
37
  var modeSet = defineCommand({
@@ -167,7 +167,7 @@ var dialogOpen = defineCommand({
167
167
  (await import("./plan-limit-NQZVPJSA.js")).openPlanDialog();
168
168
  break;
169
169
  case "credits":
170
- await (await import("./buy-credits-LK6QXRXO.js")).buyAiCredits();
170
+ await (await import("./buy-credits-R6PSWUM2.js")).buyAiCredits();
171
171
  break;
172
172
  case "tokens":
173
173
  emit("popcraft-open-tokens");
@@ -213,7 +213,7 @@ var aiOpen = defineCommand({
213
213
  ] } },
214
214
  run: async ({ dialog, skillId }) => {
215
215
  if (dialog) (await import("./client-store-4J5MJDAW.js")).openAiDialog(dialog);
216
- else (await import("./store-4GUNFV7U.js")).openAgentPanel({ skillId: skillId ?? null });
216
+ else (await import("./store-D7M2QNWT.js")).openAgentPanel({ skillId: skillId ?? null });
217
217
  return { summary: dialog ? `Opened AI ${dialog}` : "Opened the agent" };
218
218
  }
219
219
  });
@@ -226,7 +226,7 @@ var agentContinue = defineCommand({
226
226
  params: external_exports.object({}),
227
227
  expose: { ui: { label: "AI: Continue the agent\u2019s last turn", keywords: ["ai", "agent", "continue", "resume", "retry", "keep going"] } },
228
228
  run: async () => {
229
- const resumed = await (await import("./runner-KSX7DGFW.js")).continueTurn();
229
+ const resumed = await (await import("./runner-7PSSJXP6.js")).continueTurn();
230
230
  return { summary: resumed ? "Continued the agent" : "Nothing to continue" };
231
231
  }
232
232
  });
@@ -305,11 +305,11 @@ var toolPlace = defineCommand({
305
305
  run: async ({ what }) => {
306
306
  if (what === "media") {
307
307
  const s = await store();
308
- const { placeMediaFromPicker } = await import("./media-tool-3IFICUR3.js");
308
+ const { placeMediaFromPicker } = await import("./media-tool-Z6ND5SKE.js");
309
309
  await placeMediaFromPicker({ kind: "point", x: s.camera.x, y: s.camera.y });
310
310
  return { summary: "Placing media" };
311
311
  }
312
- const { beginEyedrop } = await import("./eyedropper-P3ZONVHS.js");
312
+ const { beginEyedrop } = await import("./eyedropper-UWISBVOX.js");
313
313
  void beginEyedrop();
314
314
  return { summary: "Pick a color" };
315
315
  }
@@ -327,7 +327,7 @@ var nodeRasterize = defineCommand({
327
327
  keywords: ["rasterize", "raster", "flatten", "pixels", "paint layer", "erase", "bitmap"]
328
328
  } },
329
329
  run: async () => {
330
- const { flattenSelectionToPaintLayer } = await import("./raster-actions-ZGFZYTAH.js");
330
+ const { flattenSelectionToPaintLayer } = await import("./raster-actions-I5TJ5I7S.js");
331
331
  await flattenSelectionToPaintLayer();
332
332
  return { summary: "Rasterized" };
333
333
  }
@@ -438,7 +438,7 @@ function pluginCommand(plugins) {
438
438
  params: external_exports.object({ pluginId: external_exports.string(), commandId: external_exports.string() }),
439
439
  expose: { ui: { label: "Run plugin", keywords: ["plugin", "extension", "run"], variants, palette: variants.length ? void 0 : false } },
440
440
  run: async ({ pluginId, commandId }) => {
441
- await (await import("./host-VSSIPMLW.js")).runPlugin(pluginId, commandId);
441
+ await (await import("./host-MIEETQXP.js")).runPlugin(pluginId, commandId);
442
442
  return { summary: "Plugin started" };
443
443
  }
444
444
  });
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
6
6
  const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  useEditorStore
9
- } from "./chunk-OK3DQPII.js";
9
+ } from "./chunk-Y7SVEIXZ.js";
10
10
  import {
11
11
  announce
12
12
  } from "./chunk-MBI3PCPN.js";
@@ -13,7 +13,7 @@ import {
13
13
  agentTool,
14
14
  agentToolList,
15
15
  registerCommands
16
- } from "./chunk-735IMMB6.js";
16
+ } from "./chunk-6DDTIGDY.js";
17
17
  import {
18
18
  dispatch
19
19
  } from "./chunk-SZHIVENR.js";
@@ -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-F4AFFSFA.js";
9
+ } from "./chunk-USXZ2Z7E.js";
10
10
  import {
11
11
  fileCommands,
12
12
  fontTeamRemove,
13
13
  integrationConfirmCommands,
14
14
  mediaDelete,
15
15
  publishCommands
16
- } from "./chunk-7HICNIH2.js";
16
+ } from "./chunk-RCYPJTDS.js";
17
17
  import {
18
18
  external_exports
19
19
  } from "./chunk-UDDWBCFE.js";
@@ -53,7 +53,7 @@ var collabSetSpotlight = defineCommand({
53
53
  }
54
54
  },
55
55
  run: async ({ on }, ctx) => {
56
- const { setSpotlight } = await import("./presence-GGLTIRS2.js");
56
+ const { setSpotlight } = await import("./presence-X4HNN2NN.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-L4V3QA4A.js");
83
+ const { useEditorStore } = await import("./editor-store-I7XK3PGQ.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-L4V3QA4A.js");
147
+ const { useEditorStore } = await import("./editor-store-I7XK3PGQ.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-CWODJKJI.js");
191
+ const { publishLibrary } = await import("./libraries-LHFSA7JJ.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-CWODJKJI.js");
223
+ const { unpublishLibrary } = await import("./libraries-LHFSA7JJ.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-L4V3QA4A.js"),
236
- import("./versions-MP3FT4IV.js")
235
+ import("./editor-store-I7XK3PGQ.js"),
236
+ import("./versions-SFXXLEBS.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-MP3FT4IV.js");
269
+ const { restoreVersion } = await import("./versions-SFXXLEBS.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-MP3FT4IV.js");
294
+ const { deleteVersion } = await import("./versions-SFXXLEBS.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 } };
@@ -20,14 +20,14 @@ import {
20
20
  } from "./chunk-D6YVHRBL.js";
21
21
  import {
22
22
  notice
23
- } from "./chunk-56ZMLITS.js";
23
+ } from "./chunk-KT3VWNJF.js";
24
24
  import {
25
25
  agentContext
26
- } from "./chunk-735IMMB6.js";
26
+ } from "./chunk-6DDTIGDY.js";
27
27
  import {
28
28
  collabSession,
29
29
  syncStatus
30
- } from "./chunk-NK4G5HDO.js";
30
+ } from "./chunk-K3AZGLLD.js";
31
31
  import {
32
32
  loadEntitlements
33
33
  } from "./chunk-6TMH7HCQ.js";
@@ -36,7 +36,7 @@ import {
36
36
  } from "./chunk-7OJZZPU4.js";
37
37
  import {
38
38
  useEditorStore
39
- } from "./chunk-OK3DQPII.js";
39
+ } from "./chunk-Y7SVEIXZ.js";
40
40
  import {
41
41
  getActiveRenderer
42
42
  } from "./chunk-A2DCJZGE.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6TMH7HCQ.js";
10
10
  import {
11
11
  activeTeamWorkspaceId
12
- } from "./chunk-7R77JLIP.js";
12
+ } from "./chunk-JGJZXJRJ.js";
13
13
  import {
14
14
  ApiError,
15
15
  GUEST_FILE_LIMIT,
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-LCLQWQO2.js";
24
24
  import {
25
25
  markLibraryDocument
26
- } from "./chunk-OK3DQPII.js";
26
+ } from "./chunk-Y7SVEIXZ.js";
27
27
  import {
28
28
  create
29
29
  } from "./chunk-RVNIEOXA.js";
@@ -150,7 +150,7 @@ function startHyperyTeams() {
150
150
  maybePromptForTeam();
151
151
  void followFileTeam(linkedKey);
152
152
  });
153
- void import("./sync-K2VRUB23.js").then(({ onSyncStatus, syncStatus }) => {
153
+ void import("./sync-GQHOTPE4.js").then(({ onSyncStatus, syncStatus }) => {
154
154
  linkedKey = syncStatus().link?.key ?? null;
155
155
  void followFileTeam(linkedKey);
156
156
  onSyncStatus((_s, link) => {
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-T2U7UWFL.js";
16
16
  import {
17
17
  syncStatus
18
- } from "./chunk-NK4G5HDO.js";
18
+ } from "./chunk-K3AZGLLD.js";
19
19
  import {
20
20
  exportNodeToSVG
21
21
  } from "./chunk-I5VBP754.js";
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  setPluginTabs,
30
30
  useEditorStore
31
- } from "./chunk-OK3DQPII.js";
31
+ } from "./chunk-Y7SVEIXZ.js";
32
32
  import {
33
33
  openBeside
34
34
  } from "./chunk-HU75T2CC.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-V2XZNMZE.js");
72
+ const { dispatchPluginCall } = await import("./plugin-IIVMHWXJ.js");
73
73
  return dispatchPluginCall(env, method, params);
74
74
  }
75
75
 
@@ -579,7 +579,7 @@ async function runPlugin(pluginId, commandId, opts = {}) {
579
579
  if (!openBeside(url)) throw new Error("The browser blocked the new tab");
580
580
  },
581
581
  createDocument: async (opts2) => {
582
- const { createFreshFileOrExplain } = await import("./new-file-GYD6TJYO.js");
582
+ const { createFreshFileOrExplain } = await import("./new-file-ZD27RMLG.js");
583
583
  const created = await createFreshFileOrExplain({}, { name: opts2?.name });
584
584
  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})`);
585
585
  await useEditorStore.getState().openDocument(created.docId);
@@ -769,7 +769,7 @@ if (typeof window !== "undefined") {
769
769
  const name = d.name || "Imported";
770
770
  void (async () => {
771
771
  try {
772
- const { importViaPlugin, applyPluginLayoutIr } = await import("./plugin-import-UFRJVWX3.js");
772
+ const { importViaPlugin, applyPluginLayoutIr } = await import("./plugin-import-VVPFCMMO.js");
773
773
  if (d.ir && typeof d.ir === "object") {
774
774
  await applyPluginLayoutIr(d.ir, { mode, name });
775
775
  return;
@@ -13,14 +13,14 @@ import {
13
13
  reportOpenStage,
14
14
  setCloudLink,
15
15
  trackOpen
16
- } from "./chunk-ETC4DTCD.js";
16
+ } from "./chunk-J6Q7JXER.js";
17
17
  import {
18
18
  parseDeepLink,
19
19
  withDeepLink
20
20
  } from "./chunk-HFCMTDPQ.js";
21
21
  import {
22
22
  activeTeamWorkspaceId
23
- } from "./chunk-7R77JLIP.js";
23
+ } from "./chunk-JGJZXJRJ.js";
24
24
  import {
25
25
  ApiError,
26
26
  api,
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-7OJZZPU4.js";
29
29
  import {
30
30
  attachPresence
31
- } from "./chunk-GZWJRQRF.js";
31
+ } from "./chunk-ERXWGXIF.js";
32
32
  import {
33
33
  fileOpeningMode,
34
34
  isAppleMobile,
@@ -41,7 +41,7 @@ import {
41
41
  setCollabHistory,
42
42
  storedDocument,
43
43
  useEditorStore
44
- } from "./chunk-OK3DQPII.js";
44
+ } from "./chunk-Y7SVEIXZ.js";
45
45
  import {
46
46
  currentHistoryGroup
47
47
  } from "./chunk-DUH4J3CB.js";
@@ -16,7 +16,7 @@ import {
16
16
  requestImageAction,
17
17
  sizeForAspect,
18
18
  vectorSupport
19
- } from "./chunk-AN22TGNL.js";
19
+ } from "./chunk-ZDBDOXNF.js";
20
20
  import {
21
21
  external_exports
22
22
  } from "./chunk-UDDWBCFE.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-7G7UOKM4.js";
32
32
  import {
33
33
  useEditorStore
34
- } from "./chunk-OK3DQPII.js";
34
+ } from "./chunk-Y7SVEIXZ.js";
35
35
  import {
36
36
  withHistoryGroup
37
37
  } from "./chunk-DUH4J3CB.js";
@@ -7,10 +7,10 @@ const __dirname = __popcraftDirname(__filename);
7
7
  import {
8
8
  builtinCommands,
9
9
  registerBuiltinCommands
10
- } from "./chunk-7HICNIH2.js";
10
+ } from "./chunk-RCYPJTDS.js";
11
11
  import {
12
12
  toolView
13
- } from "./chunk-735IMMB6.js";
13
+ } from "./chunk-6DDTIGDY.js";
14
14
  import {
15
15
  init_define_POPCRAFT_COMPONENT_IDS
16
16
  } from "./chunk-63KP74KB.js";