@jxsuite/studio 5.2.0 → 5.3.0

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 (71) hide show
  1. package/dist/chunks/{cf-account-picker-h4dab9bq.js → cf-account-picker-nwnwdm6p.js} +5 -5
  2. package/dist/chunks/{content-source-sgg1sv6n.js → content-source-4rzvmp0m.js} +16 -16
  3. package/dist/chunks/{convert-to-repeater-mf1cxgfn.js → convert-to-repeater-jxsv62v7.js} +16 -16
  4. package/dist/chunks/{entry-commands-w9qsxa6q.js → entry-commands-1wnsqn5d.js} +19 -19
  5. package/dist/chunks/{extension-sections-c6zwzbre.js → extension-sections-2mrptyek.js} +20 -20
  6. package/dist/chunks/{file-ops-vrpq1jjk.js → file-ops-knfqshrm.js} +15 -15
  7. package/dist/chunks/{files-msaf95y6.js → files-y6fr4he9.js} +24 -23
  8. package/dist/chunks/{format-host-f64fnesp.js → format-host-1k4qrcqd.js} +2 -2
  9. package/dist/chunks/{git-panel-bv5e22j0.js → git-panel-2rkrsjva.js} +15 -15
  10. package/dist/chunks/{grid-view-paj67nr5.js → grid-view-a7b87n2c.js} +18 -18
  11. package/dist/chunks/{iframe-host-dh5np8vk.js → iframe-host-scpw01h8.js} +7 -7
  12. package/dist/chunks/{jx-validate-j0wxk72w.js → jx-validate-epp2z3s3.js} +2 -2
  13. package/dist/chunks/{layers-1vcfdbet.js → layers-jnvdbqva.js} +3 -3
  14. package/dist/chunks/layers-panel-73gfkcga.js +41 -0
  15. package/dist/chunks/{listbox-6v2ac08j.js → listbox-b7jxnhq1.js} +19 -3
  16. package/dist/chunks/{media-picker-p49nhqhs.js → media-picker-f66nav16.js} +9 -9
  17. package/dist/chunks/{menu-qht48vnc.js → menu-1dfhry4s.js} +4 -4
  18. package/dist/chunks/{monaco-setup-8r62fj6y.js → monaco-setup-km6abc6q.js} +2 -2
  19. package/dist/chunks/{publish-panel-vz23wwmg.js → publish-panel-z1zd2da1.js} +8 -8
  20. package/dist/chunks/quick-search-zdv7h8ht.js +47 -0
  21. package/dist/chunks/{right-panel-j97t2yvy.js → right-panel-889vbnm5.js} +18 -18
  22. package/dist/chunks/{split-g7nm1rgb.js → split-4cz4b6ef.js} +14 -3
  23. package/dist/chunks/{studio-ympe0n7a.js → studio-0j7r7s9g.js} +2 -2
  24. package/dist/chunks/{studio-68fydsrj.js → studio-151w0xnh.js} +13 -13
  25. package/dist/chunks/{studio-x72j58vw.js → studio-27q131j3.js} +3 -3
  26. package/dist/chunks/{studio-ctm7bhx5.js → studio-4f3psrk1.js} +5 -5
  27. package/dist/chunks/{studio-t3adrr56.js → studio-50wfwy44.js} +7 -7
  28. package/dist/chunks/{studio-28vs5k2y.js → studio-6gryj0sg.js} +5 -5
  29. package/dist/chunks/{studio-ncn9e189.js → studio-6kvgrkrp.js} +5 -5
  30. package/dist/chunks/{studio-14d9tq4d.js → studio-7144epdr.js} +5 -5
  31. package/dist/chunks/{studio-01jeck2y.js → studio-7rrb1esn.js} +16 -16
  32. package/dist/chunks/{studio-38emantv.js → studio-a5h5j33a.js} +19 -5
  33. package/dist/chunks/{studio-4r14yzyy.js → studio-a65w20ex.js} +2 -2
  34. package/dist/chunks/{studio-c07s5ckd.js → studio-ab87phj1.js} +3 -3
  35. package/dist/chunks/{studio-hhskq2mr.js → studio-b66rsh78.js} +12 -12
  36. package/dist/chunks/{studio-en82c639.js → studio-b7xacrwe.js} +4 -4
  37. package/dist/chunks/{studio-15f3kxqe.js → studio-c0qgc3tn.js} +10 -10
  38. package/dist/chunks/{studio-y4f9fdge.js → studio-cgprcdxn.js} +6 -6
  39. package/dist/chunks/{studio-p6pmwkvh.js → studio-d1n2bykn.js} +32 -5
  40. package/dist/chunks/{studio-4xmjcrg3.js → studio-dd1qqkry.js} +4 -4
  41. package/dist/chunks/{studio-etvx9s2g.js → studio-drg8qj9k.js} +6 -6
  42. package/dist/chunks/{studio-kcgff4r0.js → studio-fgmfksz8.js} +2 -2
  43. package/dist/chunks/{studio-mpzwze9x.js → studio-fzjx96t2.js} +4 -4
  44. package/dist/chunks/{studio-66arbpc2.js → studio-g33v4fe9.js} +15 -14
  45. package/dist/chunks/{studio-ez11dmdh.js → studio-gk2twyh4.js} +2 -2
  46. package/dist/chunks/{studio-5nz00bhh.js → studio-gtfq1dkz.js} +3 -3
  47. package/dist/chunks/{studio-5t7ena5z.js → studio-j0w60gft.js} +5 -5
  48. package/dist/chunks/{studio-qa7fzxan.js → studio-jt27ta6x.js} +3 -3
  49. package/dist/chunks/{studio-x10fp4tp.js → studio-ke09tn9k.js} +11 -11
  50. package/dist/chunks/{studio-d0300636.js → studio-ks2zzth2.js} +17 -2
  51. package/dist/chunks/{studio-wjpgxywa.js → studio-msc1ee1m.js} +3 -3
  52. package/dist/chunks/{studio-2mdbbc76.js → studio-nfx354t1.js} +7 -7
  53. package/dist/chunks/{studio-9j6sfeba.js → studio-nsgw7dbk.js} +4 -4
  54. package/dist/chunks/{studio-hdc2jt3z.js → studio-rtskkm43.js} +3 -3
  55. package/dist/chunks/{studio-vt0tj32j.js → studio-xajk70w0.js} +16 -16
  56. package/dist/chunks/{studio-a1pswps3.js → studio-ye9drbk8.js} +24 -23
  57. package/dist/chunks/{studio-sar8g54p.js → studio-ze46gzjh.js} +7 -7
  58. package/dist/chunks/{workspace-bnw54cha.js → workspace-np10mayv.js} +3 -3
  59. package/dist/iframe-entry.js +3 -3
  60. package/dist/studio.js +116 -79
  61. package/package.json +5 -5
  62. package/src/panels/chat-panel.ts +40 -5
  63. package/src/services/module-preloads.ts +67 -0
  64. package/src/studio.ts +6 -0
  65. package/src/surfaces/formula-palette.json +8 -7
  66. package/src/surfaces/formula-palette.ts +10 -6
  67. package/src/surfaces/palette.json +8 -7
  68. package/src/ui/panel-resize.ts +3 -23
  69. package/src/ui/virtual-window.ts +57 -4
  70. package/dist/chunks/layers-panel-fksbdg4q.js +0 -40
  71. package/dist/chunks/quick-search-e9rp74m8.js +0 -46
@@ -21,17 +21,17 @@ import {
21
21
  activateTab2,
22
22
  moveTabToPane2,
23
23
  renameTab2
24
- } from "./studio-ez11dmdh.js";
24
+ } from "./studio-gk2twyh4.js";
25
25
  import {
26
26
  registerSurface,
27
27
  mountSurface,
28
28
  runReported,
29
29
  runActiveReported,
30
30
  showPromptDialog2
31
- } from "./studio-ympe0n7a.js";
31
+ } from "./studio-0j7r7s9g.js";
32
32
  import {
33
33
  activeRegistry
34
- } from "./studio-p6pmwkvh.js";
34
+ } from "./studio-d1n2bykn.js";
35
35
  import {
36
36
  reactive,
37
37
  now,
@@ -55,7 +55,7 @@ import {
55
55
  noFormatError2,
56
56
  formatForPath2,
57
57
  documentExtensions2
58
- } from "./studio-28vs5k2y.js";
58
+ } from "./studio-6gryj0sg.js";
59
59
  import {
60
60
  resetIgnoreCache,
61
61
  ensureIgnoreLayers,
@@ -72,7 +72,7 @@ import {
72
72
  markSessionRestored,
73
73
  setActivityTab,
74
74
  resetProjectShell
75
- } from "./studio-mpzwze9x.js";
75
+ } from "./studio-fzjx96t2.js";
76
76
  import {
77
77
  SETTINGS,
78
78
  readStoredSetting,
@@ -80,16 +80,16 @@ import {
80
80
  } from "./studio-z2smx5ce.js";
81
81
  import {
82
82
  showProgressModal
83
- } from "./studio-y4f9fdge.js";
83
+ } from "./studio-cgprcdxn.js";
84
84
  import {
85
85
  registerPanel
86
- } from "./studio-x72j58vw.js";
86
+ } from "./studio-27q131j3.js";
87
87
  import {
88
88
  disarmPreviewOverlay,
89
89
  parseSourceForPath2,
90
90
  confirmFileDelete2,
91
91
  renamePromptMessage2
92
- } from "./studio-x10fp4tp.js";
92
+ } from "./studio-ke09tn9k.js";
93
93
  import {
94
94
  loadComponentRegistry2
95
95
  } from "./studio-zjjde71a.js";
@@ -106,27 +106,27 @@ import {
106
106
  isViewableMedia,
107
107
  openMediaTab,
108
108
  cleanupGitPanel2
109
- } from "./studio-vt0tj32j.js";
109
+ } from "./studio-xajk70w0.js";
110
110
  import {
111
111
  uploadAccept,
112
112
  isImage,
113
113
  uploadAssets
114
- } from "./studio-en82c639.js";
114
+ } from "./studio-b7xacrwe.js";
115
115
  import {
116
116
  openCsvGridTab,
117
117
  openPagesGrid
118
- } from "./studio-t3adrr56.js";
118
+ } from "./studio-50wfwy44.js";
119
119
  import {
120
120
  openMenu2
121
- } from "./studio-qa7fzxan.js";
121
+ } from "./studio-jt27ta6x.js";
122
122
  import {
123
123
  listWindow,
124
124
  revealListRow,
125
125
  watchListWindow
126
- } from "./studio-38emantv.js";
126
+ } from "./studio-a5h5j33a.js";
127
127
  import {
128
128
  collectionOfPath
129
- } from "./studio-hdc2jt3z.js";
129
+ } from "./studio-rtskkm43.js";
130
130
  import {
131
131
  __preload
132
132
  } from "./studio-5te5tqng.js";
@@ -2083,7 +2083,7 @@ async function createNewFile(dirPath, renderLeftPanel) {
2083
2083
  const seedable = constrained && collection.isSourceRoot && collection.def.schema !== undefined;
2084
2084
  let created;
2085
2085
  if (seedable) {
2086
- const { createEntry } = await (__preload("w9qsxa6q"), import("./entry-commands-w9qsxa6q.js"));
2086
+ const { createEntry } = await (__preload("1wnsqn5d"), import("./entry-commands-1wnsqn5d.js"));
2087
2087
  created = await createEntry(collection.name, { dir: dirPath });
2088
2088
  } else {
2089
2089
  created = await createFileIn2({
@@ -2433,4 +2433,4 @@ function unmountFilesPanel() {
2433
2433
  export { ensureDependenciesInstalled, convertTargets, convertTargetExtensions, hydrateRecentProjects, getRecentProjects, addRecentProject, removeRecentProject, clearRecentProjects, getRecentFiles, trackRecentFile, loadDirectory2, loadProject2, openProject2, initProjectRepo2, findHomePage2, openLastSessionOrHome2, renderFilesTemplate2, registerFileTreeDnD2, createFileIn2, notifyMoveOutcome2, settleRename2, openFileInTab2, openFileInPane2, reloadCleanTab2, reloadFileInTab2, registerFilesPanel2 };
2434
2434
 
2435
2435
  //# debugId=7C9C999E902E1E2C64756E2164756E21
2436
- //# sourceMappingURL=studio-01jeck2y.js.map
2436
+ //# sourceMappingURL=studio-7rrb1esn.js.map
@@ -100,6 +100,19 @@ function nearestScroller(el) {
100
100
  }
101
101
  return null;
102
102
  }
103
+ function scrollerFor(list) {
104
+ const cached = scrollerCache.get(list);
105
+ if (cached && cached.isConnected && list.isConnected && cached.contains(list)) {
106
+ return cached;
107
+ }
108
+ const found = nearestScroller(list);
109
+ if (found) {
110
+ scrollerCache.set(list, found);
111
+ } else {
112
+ scrollerCache.delete(list);
113
+ }
114
+ return found;
115
+ }
103
116
  function listScrollTop(scroller, list) {
104
117
  if (scroller === list) {
105
118
  return Math.max(0, scroller.scrollTop);
@@ -107,7 +120,7 @@ function listScrollTop(scroller, list) {
107
120
  return Math.max(0, rectOf(scroller).top - rectOf(list).top);
108
121
  }
109
122
  function listWindow(list, spec) {
110
- const scroller = list?.isConnected === true ? nearestScroller(list) : null;
123
+ const scroller = list?.isConnected === true ? scrollerFor(list) : null;
111
124
  if (!scroller || !list) {
112
125
  const count = Math.max(0, Math.trunc(spec.count));
113
126
  return { end: count, padBottom: 0, padTop: 0, start: 0, totalRows: count };
@@ -133,7 +146,7 @@ function scrollTopToReveal(spec) {
133
146
  return null;
134
147
  }
135
148
  function revealListRow(list, index, rowHeight) {
136
- const scroller = list?.isConnected === true ? nearestScroller(list) : null;
149
+ const scroller = list?.isConnected === true ? scrollerFor(list) : null;
137
150
  if (!scroller || !list || index < 0 || !(rowHeight > 0)) {
138
151
  return false;
139
152
  }
@@ -155,8 +168,9 @@ function measuredRowHeight(list, selector, declared) {
155
168
  const row = list?.querySelector(selector);
156
169
  return row && row.offsetHeight > 0 ? row.offsetHeight : declared;
157
170
  }
171
+ var scrollerCache = new WeakMap;
158
172
  function watchListWindow(previous, list, spec) {
159
- const scroller = nearestScroller(list);
173
+ const scroller = scrollerFor(list);
160
174
  if (previous && previous.list === list && previous.scroller === scroller) {
161
175
  return previous;
162
176
  }
@@ -179,5 +193,5 @@ function watchListWindow(previous, list, spec) {
179
193
 
180
194
  export { computeWindow, listWindow, revealListRow, measuredRowHeight, watchListWindow };
181
195
 
182
- //# debugId=434B938DB6C9904C64756E2164756E21
183
- //# sourceMappingURL=studio-38emantv.js.map
196
+ //# debugId=E03093CC18BA73A564756E2164756E21
197
+ //# sourceMappingURL=studio-a5h5j33a.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./studio-m1p9b6c3.js";
12
12
  import {
13
13
  loadedMonaco
14
- } from "./studio-28vs5k2y.js";
14
+ } from "./studio-6gryj0sg.js";
15
15
 
16
16
  // src/services/code-services.ts
17
17
  async function codeService(action, payload) {
@@ -108,4 +108,4 @@ function getFunctionArgs(editing, document) {
108
108
  export { codeService, pluginSchemaCache, fetchPluginSchema, setLintMarkers, getFunctionArgs };
109
109
 
110
110
  //# debugId=267FFB64A2BBCD1564756E2164756E21
111
- //# sourceMappingURL=studio-4r14yzyy.js.map
111
+ //# sourceMappingURL=studio-a65w20ex.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  resolveI18n,
7
7
  activeTab2
8
- } from "./studio-ez11dmdh.js";
8
+ } from "./studio-gk2twyh4.js";
9
9
  import {
10
10
  assetUrlFor,
11
11
  BUILD_LANES,
@@ -15,7 +15,7 @@ import {
15
15
  joinProjectPath,
16
16
  projectPathForRef,
17
17
  encodeProjectPath
18
- } from "./studio-p6pmwkvh.js";
18
+ } from "./studio-d1n2bykn.js";
19
19
  import {
20
20
  projectState
21
21
  } from "./studio-m1p9b6c3.js";
@@ -182,4 +182,4 @@ function hostAssetDeclarations() {
182
182
  export { contentMountFor, resolveAssetRef, canvasBaseOrigin, documentBase, loopbackAssetSrc, projectLocales2, assetContextFor, previewAssetSrc, hostAssetDeclarations };
183
183
 
184
184
  //# debugId=AC177B7F9545734164756E2164756E21
185
- //# sourceMappingURL=studio-c07s5ckd.js.map
185
+ //# sourceMappingURL=studio-ab87phj1.js.map
@@ -61,17 +61,17 @@ import {
61
61
  jsonClone,
62
62
  workspace2,
63
63
  activeTab2
64
- } from "./studio-ez11dmdh.js";
64
+ } from "./studio-gk2twyh4.js";
65
65
  import {
66
66
  serializeJson,
67
67
  shell,
68
68
  setActivityTab
69
- } from "./studio-mpzwze9x.js";
69
+ } from "./studio-fzjx96t2.js";
70
70
  import {
71
71
  KEY_SCOPES,
72
72
  checkRecordPlacements,
73
73
  registerPanel
74
- } from "./studio-x72j58vw.js";
74
+ } from "./studio-27q131j3.js";
75
75
  import {
76
76
  componentRegistry2,
77
77
  loadComponentRegistry2,
@@ -80,7 +80,7 @@ import {
80
80
  import {
81
81
  focusItem,
82
82
  activeRegistry
83
- } from "./studio-p6pmwkvh.js";
83
+ } from "./studio-d1n2bykn.js";
84
84
  import {
85
85
  REGION_ATTR,
86
86
  overlayRegion,
@@ -91,13 +91,13 @@ import {
91
91
  showPromptDialog2,
92
92
  getLayerSlot2,
93
93
  clearLayerSlot2
94
- } from "./studio-ympe0n7a.js";
94
+ } from "./studio-0j7r7s9g.js";
95
95
  import {
96
96
  stylebook_meta_default,
97
97
  selectStylebookTag,
98
98
  noopCommandDeps,
99
99
  defaultCommands
100
- } from "./studio-2mdbbc76.js";
100
+ } from "./studio-nfx354t1.js";
101
101
  import {
102
102
  errorMessage2
103
103
  } from "./studio-yxa81f45.js";
@@ -115,7 +115,7 @@ import {
115
115
  getEditSnapshot2,
116
116
  postApplyFormat2,
117
117
  getEditBarAnchorRect2
118
- } from "./studio-etvx9s2g.js";
118
+ } from "./studio-drg8qj9k.js";
119
119
  import {
120
120
  draggable2
121
121
  } from "./studio-esrxgwh6.js";
@@ -124,10 +124,10 @@ import {
124
124
  dataTypeLabel,
125
125
  inspectorCommands,
126
126
  defCategory
127
- } from "./studio-a1pswps3.js";
127
+ } from "./studio-ye9drbk8.js";
128
128
  import {
129
129
  openMenu2
130
- } from "./studio-qa7fzxan.js";
130
+ } from "./studio-jt27ta6x.js";
131
131
  import {
132
132
  usagesSupported2
133
133
  } from "./studio-nq5yf5mp.js";
@@ -136,7 +136,7 @@ import {
136
136
  revealListRow,
137
137
  measuredRowHeight,
138
138
  watchListWindow
139
- } from "./studio-38emantv.js";
139
+ } from "./studio-a5h5j33a.js";
140
140
  import {
141
141
  validateComponentSlots
142
142
  } from "./studio-q0a3yk4n.js";
@@ -13738,7 +13738,7 @@ function elementCommands(deps) {
13738
13738
  if (!target?.rerender) {
13739
13739
  return;
13740
13740
  }
13741
- const { startLayerTitleEdit } = await (__preload("fksbdg4q"), import("./layers-panel-fksbdg4q.js"));
13741
+ const { startLayerTitleEdit } = await (__preload("73gfkcga"), import("./layers-panel-73gfkcga.js"));
13742
13742
  startLayerTitleEdit(target.path, target.rerender);
13743
13743
  }
13744
13744
  }
@@ -15528,4 +15528,4 @@ function registerLayersPanel2() {
15528
15528
  export { findEnclosingRepeater, convertToComponent, showSlashMenu, showSlashMenuAtRect, dismissSlashMenu, handleSlashMenuKey, parseChord, normalizeChord, chordFromEvent, formatChord, overlappingScopes, chordsInScopes, createCommandRegistry, initBlockActionBar, formatCommands, registerSelectionCommands, dismissLinkPopover, dismissBlockActionBar, suppressBlockActionBar, releaseBlockActionBar, isEditChromeTarget, renderBlockActionBar, ok, find, html2, svg, stringify, stringify2, stringifyPosition, VFile, whitespace, setOpenDialog, setOpenPopover, ensurePopoverRevealWatch, startLayerTitleEdit2, registerLayersPanel2, pasteNode, clipboardCommands, setContextMenuNavigate, liveElementCommands, dismissContextMenu, showContextMenu };
15529
15529
 
15530
15530
  //# debugId=7893C37B2DF2B56864756E2164756E21
15531
- //# sourceMappingURL=studio-hhskq2mr.js.map
15531
+ //# sourceMappingURL=studio-b66rsh78.js.map
@@ -13,18 +13,18 @@ import {
13
13
  } from "./studio-m1p9b6c3.js";
14
14
  import {
15
15
  activeTab2
16
- } from "./studio-ez11dmdh.js";
16
+ } from "./studio-gk2twyh4.js";
17
17
  import {
18
18
  PUBLIC_DIR,
19
19
  normalizeProjectPath,
20
20
  encodeProjectPath
21
- } from "./studio-p6pmwkvh.js";
21
+ } from "./studio-d1n2bykn.js";
22
22
  import {
23
23
  contentMountFor,
24
24
  loopbackAssetSrc,
25
25
  projectLocales2,
26
26
  hostAssetDeclarations
27
- } from "./studio-c07s5ckd.js";
27
+ } from "./studio-ab87phj1.js";
28
28
 
29
29
  // src/files/media-upload.ts
30
30
  var IMAGE_EXTENSIONS = new Set([
@@ -237,4 +237,4 @@ function previewFileSrc(path) {
237
237
  export { IMAGE_EXTENSIONS, MEDIA_EXTENSIONS, uploadAccept, extensionOf, isImage, isMediaFile, mediaKind, setMediaChangedHandler, uploadAssets, baseName, dirName, mediaSiteUrl, previewFileSrc };
238
238
 
239
239
  //# debugId=4C51950010FE40AA64756E2164756E21
240
- //# sourceMappingURL=studio-en82c639.js.map
240
+ //# sourceMappingURL=studio-b7xacrwe.js.map
@@ -46,11 +46,11 @@ import {
46
46
  friendlyNameToVar,
47
47
  varDisplayName,
48
48
  activeTab2
49
- } from "./studio-ez11dmdh.js";
49
+ } from "./studio-gk2twyh4.js";
50
50
  import {
51
51
  isPopover,
52
52
  activeRegistry
53
- } from "./studio-p6pmwkvh.js";
53
+ } from "./studio-d1n2bykn.js";
54
54
  import {
55
55
  mountExpressionEditor,
56
56
  livePreviewExpression,
@@ -76,14 +76,14 @@ import {
76
76
  bindContentHost,
77
77
  isCustomElementDoc,
78
78
  collectCssParts
79
- } from "./studio-a1pswps3.js";
79
+ } from "./studio-ye9drbk8.js";
80
80
  import {
81
81
  inspectorTabRegion,
82
82
  inspectorStatementsRegion,
83
83
  registerSurface,
84
84
  mountSurface,
85
85
  showPromptDialog2
86
- } from "./studio-ympe0n7a.js";
86
+ } from "./studio-0j7r7s9g.js";
87
87
  import {
88
88
  VALUE_SOURCE_LABELS,
89
89
  VALUE_SOURCE_HINTS,
@@ -95,23 +95,23 @@ import {
95
95
  effectiveSlotMode,
96
96
  slotModeSeed,
97
97
  switchSlotMode
98
- } from "./studio-ctm7bhx5.js";
98
+ } from "./studio-4f3psrk1.js";
99
99
  import {
100
100
  mediaDisplayName,
101
101
  schemeOfQuery,
102
102
  parseMediaEntries,
103
103
  dialogPathFor
104
- } from "./studio-etvx9s2g.js";
104
+ } from "./studio-drg8qj9k.js";
105
105
  import {
106
106
  openMenu2
107
- } from "./studio-qa7fzxan.js";
107
+ } from "./studio-jt27ta6x.js";
108
108
  import {
109
109
  getEffectiveMedia,
110
110
  getEffectiveStyle,
111
111
  DEFAULT_INSPECTOR_TAB,
112
112
  isInspectorTabId,
113
113
  shell
114
- } from "./studio-mpzwze9x.js";
114
+ } from "./studio-fzjx96t2.js";
115
115
  import {
116
116
  peekUsages2,
117
117
  loadUsages2,
@@ -120,7 +120,7 @@ import {
120
120
  import {
121
121
  selectStylebookTag,
122
122
  INSPECTOR_TABS
123
- } from "./studio-2mdbbc76.js";
123
+ } from "./studio-nfx354t1.js";
124
124
  import {
125
125
  cloneValue2
126
126
  } from "./studio-727xh0e3.js";
@@ -8445,4 +8445,4 @@ function inspectorTarget() {
8445
8445
  export { initCssData, registerStyleCommands, mount2, unmount2, render2, inspectorTab2, setInspectorTab2 };
8446
8446
 
8447
8447
  //# debugId=674E8D1C61241CA264756E2164756E21
8448
- //# sourceMappingURL=studio-15f3kxqe.js.map
8448
+ //# sourceMappingURL=studio-c0qgc3tn.js.map
@@ -5,10 +5,10 @@ import {
5
5
  normalizeProjectPath,
6
6
  showModal,
7
7
  close2
8
- } from "./studio-p6pmwkvh.js";
8
+ } from "./studio-d1n2bykn.js";
9
9
  import {
10
10
  syncDeployChecklist
11
- } from "./studio-9j6sfeba.js";
11
+ } from "./studio-nsgw7dbk.js";
12
12
  import {
13
13
  effectScope,
14
14
  effect,
@@ -18,7 +18,7 @@ import {
18
18
  } from "./studio-d8z5bajd.js";
19
19
  import {
20
20
  setBottomTab
21
- } from "./studio-mpzwze9x.js";
21
+ } from "./studio-fzjx96t2.js";
22
22
  import {
23
23
  REGION_ATTR,
24
24
  overlayRegion,
@@ -26,10 +26,10 @@ import {
26
26
  mountSurface,
27
27
  whenReady,
28
28
  layerHost2
29
- } from "./studio-ympe0n7a.js";
29
+ } from "./studio-0j7r7s9g.js";
30
30
  import {
31
31
  registerPanel
32
- } from "./studio-x72j58vw.js";
32
+ } from "./studio-27q131j3.js";
33
33
  import {
34
34
  peekUsages2,
35
35
  loadUsages2,
@@ -1168,4 +1168,4 @@ function showProgressModal(opts) {
1168
1168
  export { beginActivity, activityIdleBlockers, registerActivityPanel, showProgressModal, peekMediaUsages, loadMediaUsages, mediaUsageHeadline };
1169
1169
 
1170
1170
  //# debugId=0FE9D80FF9C2142764756E2164756E21
1171
- //# sourceMappingURL=studio-y4f9fdge.js.map
1171
+ //# sourceMappingURL=studio-cgprcdxn.js.map
@@ -4577,7 +4577,8 @@ __export(exports_split, {
4577
4577
  onSplitPointerDown: () => onSplitPointerDown,
4578
4578
  onSplitPointerMove: () => onSplitPointerMove,
4579
4579
  onSplitPointerUp: () => onSplitPointerUp,
4580
- splitModifiersOf: () => splitModifiersOf
4580
+ splitModifiersOf: () => splitModifiersOf,
4581
+ trackOf: () => trackOf
4581
4582
  });
4582
4583
  var HOST = "jx-split";
4583
4584
  var EPSILON = 0.000001;
@@ -4624,7 +4625,16 @@ function isVertical(state) {
4624
4625
  function coordOf(vertical, event) {
4625
4626
  return vertical ? event.clientX : event.clientY;
4626
4627
  }
4628
+ var trackCache = new WeakMap;
4627
4629
  function trackOf(host, vertical) {
4630
+ const cached = trackCache.get(host);
4631
+ if (cached && cached.vertical === vertical && cached.element.isConnected && host.isConnected && cached.element.contains(host)) {
4632
+ const box = cached.element.getBoundingClientRect();
4633
+ const length = vertical ? box.width : box.height;
4634
+ if (length > 0) {
4635
+ return length;
4636
+ }
4637
+ }
4628
4638
  for (let node = host.parentElement;node; node = node.parentElement) {
4629
4639
  if (globalThis.getComputedStyle(node).display === "contents") {
4630
4640
  continue;
@@ -4632,6 +4642,7 @@ function trackOf(host, vertical) {
4632
4642
  const box = node.getBoundingClientRect();
4633
4643
  const length = vertical ? box.width : box.height;
4634
4644
  if (length > 0) {
4645
+ trackCache.set(host, { element: node, vertical });
4635
4646
  return length;
4636
4647
  }
4637
4648
  }
@@ -15431,8 +15442,24 @@ function syncListbox(host, active) {
15431
15442
  }
15432
15443
  function mountListbox(state, host) {
15433
15444
  syncListbox(host, String(state.active ?? ""));
15445
+ let frameId = null;
15446
+ const scheduleSync = () => {
15447
+ if (frameId !== null) {
15448
+ return;
15449
+ }
15450
+ frameId = requestAnimationFrame(() => {
15451
+ frameId = null;
15452
+ if (host.isConnected) {
15453
+ syncListbox(host, String(state.active ?? ""));
15454
+ }
15455
+ });
15456
+ };
15434
15457
  const observer = new MutationObserver(() => {
15435
- syncListbox(host, String(state.active ?? ""));
15458
+ if (typeof requestAnimationFrame === "function") {
15459
+ scheduleSync();
15460
+ } else {
15461
+ syncListbox(host, String(state.active ?? ""));
15462
+ }
15436
15463
  });
15437
15464
  observer.observe(host, {
15438
15465
  attributeFilter: ["data-active"],
@@ -17662,7 +17689,7 @@ function registerUi(options = {}) {
17662
17689
  return registration;
17663
17690
  }
17664
17691
 
17665
- export { isKeyframesAtRule, pureSchemeOf, intlHelpersClause, PURE_METHOD_OPS, BLESSED_OPERATORS, BLESSED_GLOBALS, isMutating, evaluateExpression, assetUrlFor, PUBLIC_DIR, BUILD_LANES, splitRefSuffix, isNonRelativeRef, normalizeProjectPath, dirOfPath, joinProjectPath, projectPathForRef, encodeProjectPath, mount3, preloadDocument, setSkipServerFunctions, runScoped, setCanvasAssetResolver, buildScope, renderNode, redefineElement, defineElement, openAt, close, showModal, close2, ensureCaret, focusItem, splitModifiersOf, selectValue, POPOVER_DEFAULT_MODE, attrs, literalAttr, tagOf, labelOf, isPopover, idOf, walk, popoverIdsIn, documentHasPopover, scalar, findPopoverDefects, popoverDisplayRepair, POPOVER_TAGS, INVOKER_TAGS, KIT_BASE, registerUi, setActiveRegistry, activeRegistry };
17692
+ export { isKeyframesAtRule, pureSchemeOf, intlHelpersClause, PURE_METHOD_OPS, BLESSED_OPERATORS, BLESSED_GLOBALS, isMutating, evaluateExpression, assetUrlFor, PUBLIC_DIR, BUILD_LANES, splitRefSuffix, isNonRelativeRef, normalizeProjectPath, dirOfPath, joinProjectPath, projectPathForRef, encodeProjectPath, mount3, preloadDocument, setSkipServerFunctions, runScoped, setCanvasAssetResolver, buildScope, renderNode, redefineElement, defineElement, openAt, close, showModal, close2, ensureCaret, focusItem, splitModifiersOf, trackOf, selectValue, POPOVER_DEFAULT_MODE, attrs, literalAttr, tagOf, labelOf, isPopover, idOf, walk, popoverIdsIn, documentHasPopover, scalar, findPopoverDefects, popoverDisplayRepair, POPOVER_TAGS, INVOKER_TAGS, KIT_BASE, registerUi, setActiveRegistry, activeRegistry };
17666
17693
 
17667
- //# debugId=9467D68A831CC3FC64756E2164756E21
17668
- //# sourceMappingURL=studio-p6pmwkvh.js.map
17694
+ //# debugId=1CA7B04A8FCB779F64756E2164756E21
17695
+ //# sourceMappingURL=studio-d1n2bykn.js.map
@@ -2,7 +2,7 @@ import {
2
2
  githubTokenStored,
3
3
  githubTokenLocation,
4
4
  clearGithubToken
5
- } from "./studio-wjpgxywa.js";
5
+ } from "./studio-msc1ee1m.js";
6
6
  import {
7
7
  getPlatform2,
8
8
  hasPlatform2
@@ -56,7 +56,7 @@ function resetCfConnectionCache() {
56
56
  async function hostedConnect() {
57
57
  const outcome = await getPlatform2().cfConnect?.();
58
58
  if (outcome?.status === "connected" && !outcome.connection.accountId) {
59
- const { openCfAccountPicker } = await (__preload("h4dab9bq"), import("./cf-account-picker-h4dab9bq.js"));
59
+ const { openCfAccountPicker } = await (__preload("nwnwdm6p"), import("./cf-account-picker-nwnwdm6p.js"));
60
60
  await openCfAccountPicker();
61
61
  }
62
62
  resetModelCache();
@@ -111,7 +111,7 @@ function brokeredCloudflareRecord() {
111
111
  id: "choose-account",
112
112
  label: "Choose account",
113
113
  run: async () => {
114
- const { openCfAccountPicker } = await (__preload("h4dab9bq"), import("./cf-account-picker-h4dab9bq.js"));
114
+ const { openCfAccountPicker } = await (__preload("nwnwdm6p"), import("./cf-account-picker-nwnwdm6p.js"));
115
115
  if (await openCfAccountPicker()) {
116
116
  resetModelCache();
117
117
  await refreshCfConnection();
@@ -192,4 +192,4 @@ function notifyCredentialsChanged() {
192
192
  export { platformBrokersCf, refreshCfConnection, ensureCfConnection, resetCfConnectionCache, listAccounts, revokeAccount, onCredentialsChanged, notifyCredentialsChanged };
193
193
 
194
194
  //# debugId=5A4E8AE3D8A598C464756E2164756E21
195
- //# sourceMappingURL=studio-4xmjcrg3.js.map
195
+ //# sourceMappingURL=studio-dd1qqkry.js.map
@@ -33,7 +33,7 @@ import {
33
33
  import {
34
34
  loadExtensions2,
35
35
  formatByName2
36
- } from "./studio-28vs5k2y.js";
36
+ } from "./studio-6gryj0sg.js";
37
37
  import {
38
38
  localeDirection,
39
39
  primarySelection,
@@ -62,7 +62,7 @@ import {
62
62
  paneById2,
63
63
  focusPane2,
64
64
  isTabActive2
65
- } from "./studio-ez11dmdh.js";
65
+ } from "./studio-gk2twyh4.js";
66
66
  import {
67
67
  getEffectiveMedia,
68
68
  getEffectiveImports,
@@ -74,7 +74,7 @@ import {
74
74
  distributePageIntoLayout,
75
75
  shell,
76
76
  setLayoutSelection
77
- } from "./studio-mpzwze9x.js";
77
+ } from "./studio-fzjx96t2.js";
78
78
  import {
79
79
  componentRegistry2,
80
80
  buildComponentInstance2,
@@ -97,7 +97,7 @@ import {
97
97
  POPOVER_TAGS,
98
98
  INVOKER_TAGS,
99
99
  activeRegistry
100
- } from "./studio-p6pmwkvh.js";
100
+ } from "./studio-d1n2bykn.js";
101
101
  import {
102
102
  _defineProperty,
103
103
  combine,
@@ -109,7 +109,7 @@ import {
109
109
  canvasBaseOrigin,
110
110
  documentBase,
111
111
  assetContextFor
112
- } from "./studio-c07s5ckd.js";
112
+ } from "./studio-ab87phj1.js";
113
113
  import {
114
114
  rectOf,
115
115
  elementAtPoint
@@ -5736,4 +5736,4 @@ function getEditBarAnchorRect2() {
5736
5736
  export { activeCanvasSurface, tabOfPane, derivationOfPane, surfacesShowingTab, canvasModeOfTab, canvasModeOfPane, activeMediaOfPane, paneOfContainer, tabOfContainer, findDialogDefects, getPreviewNavigateHandler, documentUrlPattern, dynamicRouteParams, pagePathsDef, invalidateParamValues, loadParamValues, isComponentDoc, componentPropEntries, SPAN_FULL_RENDER, SPAN_MOUNT_CANVAS, SPAN_PATCH_BATCH, canvasPerf, recordEscalation, timeSpan, timeSpanAsync, mediaDisplayName, defaultDef, parentCursorToIframe, serializeJxPath, elements_meta_default, getInlineActions, isInlineElement, isEditing, bubbleInlinePath, isSchemeQuery, schemeOfQuery, parseMediaEntries, snapEditWidth, EDIT_WIDTH_MIN, EDIT_WIDTH_SNAP_TOLERANCE, EDIT_CANVAS_GUTTER, declaredWidthOfTab, resolveEditColumnWidth, clearEditWidth, snapTargetsOfTab, setEditWidth, ancestorPopoverPath, ancestorDialogPath, dialogPathFor, stageZoom, canvasPanelEntry, bindCanvasPanels, activateCanvasPanel, observeCenterUntilStable, applyTransform, applyEditZoom, setEditZoom, requestEditZoom, fitToScreen, getFit, setFit, markExplicitZoom, setUserZoom, fitOnCanvasEntry, resetZoom, panToParentRect, canvasBaseViewsFor, canvasBaseViewOf, previewStateOf, setCanvasView, registerCanvasViewCommands, updateActivePanelHeaders, setDragGhost, moveDragGhost, clearDragGhost, disableNativeDragPreview, attachInstruction, extractInstruction, hasElement, enableElement, disableElement, removePackageElements, removeElementRef, renderComponentPreview, registerLayersDnD, registerComponentsDnD, registerElementsDnD, applyDropInstruction, sawIframeDragOver2, allowAutoRequestsOnNextRender2, requestCanvasEval2, flushCanvasEdits2, hostForCanvas2, liveDragHostAt2, beginDragSession2, currentDragSession2, hostDragGeometry2, canvasIdleBlockers2, canvasPointAt2, revealCanvasPath2, revealCanvasPathIn2, measureInCanvas2, adoptCanvasPreviewMode2, postDragMessage2, endDragSession2, clearDropIndicator2, setNativeDragEnterHandler2, setInsertZoneClickHandler2, setFileDropHandler2, setCanvasSlashHandler2, setCanvasContextMenuHandler2, setStylebookHitHandler2, isCaretActive2, setToolbarRefresh2, setCanvasPointerDownHandler2, setIframePatchEscalation2, postPopoverOpen2, postDialogOpen2, postPatchToHosts2, dragHostTab2, releaseCanvasHosts2, mountIframeCanvas2, mountStylebookCanvas2, postColorSchemeToLiveHosts2, postLocaleToLiveHosts2, postRedefineElementToLiveHosts2, postSiteStyleToLiveHosts2, postStyleUpdateToStylebookHosts2, panToStylebookTag2, getEditSnapshot2, setKeymapSource2, postApplyFormat2, postOpenSlash2, commitActiveEditSession2, getEditBarAnchorRect2 };
5737
5737
 
5738
5738
  //# debugId=138206C03AA4653064756E2164756E21
5739
- //# sourceMappingURL=studio-etvx9s2g.js.map
5739
+ //# sourceMappingURL=studio-drg8qj9k.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  schema_default,
3
3
  project_schema_default
4
- } from "./studio-d0300636.js";
4
+ } from "./studio-ks2zzth2.js";
5
5
  import {
6
6
  __toESM,
7
7
  __preload
@@ -85,4 +85,4 @@ async function validateProjectConfig2(config) {
85
85
  export { applyProjectSchemas2, validateDoc2, validateDocOrNull2, validateProjectConfig2 };
86
86
 
87
87
  //# debugId=EC74C1A0E86832FC64756E2164756E21
88
- //# sourceMappingURL=studio-kcgff4r0.js.map
88
+ //# sourceMappingURL=studio-fgmfksz8.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./studio-6nzaktvy.js";
12
12
  import {
13
13
  loadedMonaco
14
- } from "./studio-28vs5k2y.js";
14
+ } from "./studio-6gryj0sg.js";
15
15
  import {
16
16
  projectState,
17
17
  setProjectState,
@@ -36,7 +36,7 @@ import {
36
36
  workspace2,
37
37
  focusPane2,
38
38
  setWorkspaceProject2
39
- } from "./studio-ez11dmdh.js";
39
+ } from "./studio-gk2twyh4.js";
40
40
  import {
41
41
  SETTINGS,
42
42
  readStoredSetting,
@@ -1345,7 +1345,7 @@ function extensionsKey(config) {
1345
1345
  return JSON.stringify(config.extensions ?? null);
1346
1346
  }
1347
1347
  async function refreshExtensionSurfaces() {
1348
- const { loadFormats, refreshExtensionUi, refreshFormats } = await (__preload("f64fnesp"), import("./format-host-f64fnesp.js"));
1348
+ const { loadFormats, refreshExtensionUi, refreshFormats } = await (__preload("1k4qrcqd"), import("./format-host-1k4qrcqd.js"));
1349
1349
  refreshFormats();
1350
1350
  loadFormats();
1351
1351
  refreshExtensionUi(getPlatform2());
@@ -1583,4 +1583,4 @@ async function updateSiteConfig(patch) {
1583
1583
  export { parseJsonDocument, serializeJson, serializeProjectConfig, lendProjectConfigLayout, commitProjectConfig, adoptProjectConfig, getEffectiveMedia, getEffectiveStyle, getEffectiveImports, getEffectiveElements, getEffectiveHead, getEffectiveLocales, invalidateLayoutCache, getEffectiveLayoutPath, resolveLayoutDoc, distributePageIntoLayout, updateSiteConfig, restoreSession, requireNavigatorPanelId, DEFAULT_INSPECTOR_TAB, isInspectorTabId, BOTTOM_TAB_IDS, DEFAULT_BOTTOM_TAB, isBottomTabId, CHROME_THEMES, DOCK_IDS, DOCK_DEFAULT_SIZES, DEFAULT_PANE_SPLIT, PANE_SPLIT_MIN, PANE_SPLIT_MAX, setPaneSplit, shell, persistDocks, persistedSession, markSessionRestored, flushSession, monacoTheme, registerShellSurface, mountShell, setDockCollapsed, setDockSize, setActivityTab, setBottomTab, setChromeTheme, toggleActivityTab, setLayoutSelection, resetProjectShell, registerShellViewCommands };
1584
1584
 
1585
1585
  //# debugId=41F1C61D2E957DBB64756E2164756E21
1586
- //# sourceMappingURL=studio-mpzwze9x.js.map
1586
+ //# sourceMappingURL=studio-fzjx96t2.js.map