@getforma/core 0.3.1 → 0.6.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.
Files changed (42) hide show
  1. package/README.md +190 -16
  2. package/dist/{chunk-KX5WRZH7.js → chunk-DPSAVBCP.js} +3 -4
  3. package/dist/chunk-DPSAVBCP.js.map +1 -0
  4. package/dist/{chunk-FPSLC62A.cjs → chunk-KH3F5NRU.cjs} +2 -4
  5. package/dist/chunk-KH3F5NRU.cjs.map +1 -0
  6. package/dist/{chunk-5H52PKGF.js → chunk-TKGUHASG.js} +20 -10
  7. package/dist/chunk-TKGUHASG.js.map +1 -0
  8. package/dist/{chunk-TSQ7AKFT.cjs → chunk-YSKF3VRA.cjs} +27 -17
  9. package/dist/chunk-YSKF3VRA.cjs.map +1 -0
  10. package/dist/forma-runtime-csp.js +1 -1
  11. package/dist/forma-runtime.js +1 -1
  12. package/dist/formajs-runtime-hardened.global.js +1 -1
  13. package/dist/formajs-runtime-hardened.global.js.map +1 -1
  14. package/dist/formajs-runtime.global.js +1 -1
  15. package/dist/formajs-runtime.global.js.map +1 -1
  16. package/dist/formajs.global.js +1 -1
  17. package/dist/formajs.global.js.map +1 -1
  18. package/dist/index.cjs +102 -75
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +41 -9
  21. package/dist/index.d.ts +41 -9
  22. package/dist/index.js +46 -17
  23. package/dist/index.js.map +1 -1
  24. package/dist/runtime-hardened.cjs +61 -13
  25. package/dist/runtime-hardened.cjs.map +1 -1
  26. package/dist/runtime-hardened.js +62 -14
  27. package/dist/runtime-hardened.js.map +1 -1
  28. package/dist/runtime.cjs +85 -36
  29. package/dist/runtime.cjs.map +1 -1
  30. package/dist/runtime.js +63 -14
  31. package/dist/runtime.js.map +1 -1
  32. package/dist/ssr/index.cjs +18 -10
  33. package/dist/ssr/index.cjs.map +1 -1
  34. package/dist/ssr/index.js +18 -10
  35. package/dist/ssr/index.js.map +1 -1
  36. package/dist/tc39-compat.cjs +3 -3
  37. package/dist/tc39-compat.js +1 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-5H52PKGF.js.map +0 -1
  40. package/dist/chunk-FPSLC62A.cjs.map +0 -1
  41. package/dist/chunk-KX5WRZH7.js.map +0 -1
  42. package/dist/chunk-TSQ7AKFT.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkTSQ7AKFT_cjs = require('./chunk-TSQ7AKFT.cjs');
4
- var chunkFPSLC62A_cjs = require('./chunk-FPSLC62A.cjs');
3
+ var chunkYSKF3VRA_cjs = require('./chunk-YSKF3VRA.cjs');
4
+ var chunkKH3F5NRU_cjs = require('./chunk-KH3F5NRU.cjs');
5
5
 
6
6
  // src/dom/text.ts
7
7
  function createText(value) {
8
8
  if (typeof value === "function") {
9
9
  const node = new Text("");
10
- chunkTSQ7AKFT_cjs.internalEffect(() => {
10
+ chunkYSKF3VRA_cjs.internalEffect(() => {
11
11
  node.data = value();
12
12
  });
13
13
  return node;
@@ -23,12 +23,12 @@ function mount(component, container) {
23
23
  }
24
24
  let disposeRoot;
25
25
  if (target.hasAttribute("data-forma-ssr")) {
26
- chunkTSQ7AKFT_cjs.createRoot((dispose) => {
26
+ chunkYSKF3VRA_cjs.createRoot((dispose) => {
27
27
  disposeRoot = dispose;
28
- chunkTSQ7AKFT_cjs.hydrateIsland(component, target);
28
+ chunkYSKF3VRA_cjs.hydrateIsland(component, target);
29
29
  });
30
30
  } else {
31
- const dom = chunkTSQ7AKFT_cjs.createRoot((dispose) => {
31
+ const dom = chunkYSKF3VRA_cjs.createRoot((dispose) => {
32
32
  disposeRoot = dispose;
33
33
  return component();
34
34
  });
@@ -54,7 +54,7 @@ function createSwitch(value, cases, fallback) {
54
54
  const cache = /* @__PURE__ */ new Map();
55
55
  let currentNode = null;
56
56
  let currentMatch = UNSET;
57
- const switchDispose = chunkTSQ7AKFT_cjs.internalEffect(() => {
57
+ const switchDispose = chunkYSKF3VRA_cjs.internalEffect(() => {
58
58
  const val = value();
59
59
  if (val === currentMatch) return;
60
60
  const DEBUG = typeof globalThis.__FORMA_DEBUG__ !== "undefined";
@@ -89,9 +89,9 @@ function createSwitch(value, cases, fallback) {
89
89
  let entry = cache.get(val);
90
90
  if (!entry) {
91
91
  let branchDispose;
92
- const node = chunkTSQ7AKFT_cjs.createRoot((dispose) => {
92
+ const node = chunkYSKF3VRA_cjs.createRoot((dispose) => {
93
93
  branchDispose = dispose;
94
- return chunkTSQ7AKFT_cjs.untrack(() => matchedCase.render());
94
+ return chunkYSKF3VRA_cjs.untrack(() => matchedCase.render());
95
95
  });
96
96
  entry = { node, dispose: branchDispose };
97
97
  cache.set(val, entry);
@@ -134,7 +134,7 @@ function createPortal(children2, target) {
134
134
  }
135
135
  mountedNode = null;
136
136
  };
137
- chunkTSQ7AKFT_cjs.createEffect(() => {
137
+ chunkYSKF3VRA_cjs.createEffect(() => {
138
138
  const node = children2();
139
139
  removeMountedNode();
140
140
  mountedNode = node;
@@ -153,9 +153,9 @@ function createErrorBoundary(tryFn, catchFn) {
153
153
  const fragment2 = document.createDocumentFragment();
154
154
  fragment2.appendChild(startMarker);
155
155
  fragment2.appendChild(endMarker);
156
- const [retryCount, setRetryCount] = chunkFPSLC62A_cjs.createSignal(0);
156
+ const [retryCount, setRetryCount] = chunkKH3F5NRU_cjs.createSignal(0);
157
157
  let currentNode = null;
158
- chunkTSQ7AKFT_cjs.internalEffect(() => {
158
+ chunkYSKF3VRA_cjs.internalEffect(() => {
159
159
  retryCount();
160
160
  const parent2 = startMarker.parentNode;
161
161
  if (!parent2) return;
@@ -183,7 +183,7 @@ function createSuspense(fallback, children2) {
183
183
  const fragment2 = document.createDocumentFragment();
184
184
  fragment2.appendChild(startMarker);
185
185
  fragment2.appendChild(endMarker);
186
- const [pending, setPending] = chunkFPSLC62A_cjs.createSignal(0);
186
+ const [pending, setPending] = chunkKH3F5NRU_cjs.createSignal(0);
187
187
  let currentNode = null;
188
188
  let resolvedNode = null;
189
189
  let fallbackNode = null;
@@ -195,13 +195,13 @@ function createSuspense(fallback, children2) {
195
195
  setPending((p) => Math.max(0, p - 1));
196
196
  }
197
197
  };
198
- chunkTSQ7AKFT_cjs.pushSuspenseContext(ctx);
198
+ chunkYSKF3VRA_cjs.pushSuspenseContext(ctx);
199
199
  try {
200
200
  resolvedNode = children2();
201
201
  } finally {
202
- chunkTSQ7AKFT_cjs.popSuspenseContext();
202
+ chunkYSKF3VRA_cjs.popSuspenseContext();
203
203
  }
204
- chunkTSQ7AKFT_cjs.internalEffect(() => {
204
+ chunkYSKF3VRA_cjs.internalEffect(() => {
205
205
  const parent2 = startMarker.parentNode;
206
206
  if (!parent2) return;
207
207
  const isPending = pending() > 0;
@@ -238,14 +238,11 @@ function activateIslands(registry2) {
238
238
  const componentName = root.getAttribute("data-forma-component");
239
239
  const hydrateFn = registry2[componentName];
240
240
  if (!hydrateFn) {
241
- if (chunkTSQ7AKFT_cjs.__DEV__) console.warn(`[forma] No hydrate function for island "${componentName}" (id=${id})`);
241
+ if (chunkYSKF3VRA_cjs.__DEV__) console.warn(`[forma] No hydrate function for island "${componentName}" (id=${id})`);
242
242
  root.setAttribute("data-forma-status", "error");
243
243
  continue;
244
244
  }
245
245
  const trigger = root.getAttribute("data-forma-hydrate") || "load";
246
- if (trigger === "interaction" || trigger === "idle") {
247
- if (chunkTSQ7AKFT_cjs.__DEV__) console.warn(`[forma] Trigger "${trigger}" not yet implemented for island "${componentName}" (id=${id}), falling back to load`);
248
- }
249
246
  if (trigger === "visible") {
250
247
  const observer = new IntersectionObserver(
251
248
  (entries) => {
@@ -258,23 +255,52 @@ function activateIslands(registry2) {
258
255
  { rootMargin: "200px" }
259
256
  );
260
257
  observer.observe(root);
258
+ } else if (trigger === "idle") {
259
+ const hydrate = () => hydrateIslandRoot(root, id, componentName, hydrateFn, sharedProps);
260
+ if (typeof requestIdleCallback === "function") {
261
+ requestIdleCallback(hydrate);
262
+ } else {
263
+ setTimeout(hydrate, 200);
264
+ }
265
+ } else if (trigger === "interaction") {
266
+ const hydrate = () => {
267
+ root.removeEventListener("pointerdown", hydrate, true);
268
+ root.removeEventListener("focusin", hydrate, true);
269
+ hydrateIslandRoot(root, id, componentName, hydrateFn, sharedProps);
270
+ };
271
+ root.addEventListener("pointerdown", hydrate, { capture: true, once: true });
272
+ root.addEventListener("focusin", hydrate, { capture: true, once: true });
261
273
  } else {
262
274
  hydrateIslandRoot(root, id, componentName, hydrateFn, sharedProps);
263
275
  }
264
276
  }
265
277
  }
278
+ function deactivateIsland(el) {
279
+ const dispose = el.__formaDispose;
280
+ if (typeof dispose === "function") {
281
+ dispose();
282
+ delete el.__formaDispose;
283
+ el.setAttribute("data-forma-status", "disposed");
284
+ }
285
+ }
286
+ function deactivateAllIslands(root = document) {
287
+ const islands = root.querySelectorAll('[data-forma-status="active"]');
288
+ for (const island of islands) {
289
+ deactivateIsland(island);
290
+ }
291
+ }
266
292
  function hydrateIslandRoot(root, id, componentName, hydrateFn, sharedProps) {
267
293
  try {
268
294
  const props = loadIslandProps(root, id, sharedProps);
269
295
  root.setAttribute("data-forma-status", "hydrating");
270
296
  let activeRoot = root;
271
- chunkTSQ7AKFT_cjs.createRoot((dispose) => {
272
- activeRoot = chunkTSQ7AKFT_cjs.hydrateIsland(() => hydrateFn(props), root);
297
+ chunkYSKF3VRA_cjs.createRoot((dispose) => {
298
+ activeRoot = chunkYSKF3VRA_cjs.hydrateIsland(() => hydrateFn(root, props), root);
273
299
  activeRoot.__formaDispose = dispose;
274
300
  });
275
301
  activeRoot.setAttribute("data-forma-status", "active");
276
302
  } catch (err) {
277
- if (chunkTSQ7AKFT_cjs.__DEV__) console.error(`[forma] Island "${componentName}" (id=${id}) failed:`, err);
303
+ if (chunkYSKF3VRA_cjs.__DEV__) console.error(`[forma] Island "${componentName}" (id=${id}) failed:`, err);
278
304
  root.setAttribute("data-forma-status", "error");
279
305
  }
280
306
  }
@@ -322,13 +348,15 @@ function defineComponent(setupOrDef) {
322
348
  for (const cb of ctx.unmountCallbacks) {
323
349
  try {
324
350
  cb();
325
- } catch {
351
+ } catch (e) {
352
+ chunkYSKF3VRA_cjs.reportError(e, "onUnmount");
326
353
  }
327
354
  }
328
355
  for (const d of ctx.disposers) {
329
356
  try {
330
357
  d();
331
- } catch {
358
+ } catch (e) {
359
+ chunkYSKF3VRA_cjs.reportError(e, "component disposer");
332
360
  }
333
361
  }
334
362
  ctx.disposers.length = 0;
@@ -342,7 +370,8 @@ function defineComponent(setupOrDef) {
342
370
  if (typeof cleanup2 === "function") {
343
371
  ctx.unmountCallbacks.push(cleanup2);
344
372
  }
345
- } catch {
373
+ } catch (e) {
374
+ chunkYSKF3VRA_cjs.reportError(e, "onMount");
346
375
  }
347
376
  }
348
377
  return dom;
@@ -443,7 +472,7 @@ function createStore(initial) {
443
472
  function getSignal(path, initialValue) {
444
473
  let pair = signals.get(path);
445
474
  if (!pair) {
446
- pair = chunkFPSLC62A_cjs.createSignal(initialValue);
475
+ pair = chunkKH3F5NRU_cjs.createSignal(initialValue);
447
476
  signals.set(path, pair);
448
477
  registerChild(path);
449
478
  }
@@ -483,7 +512,7 @@ function createStore(initial) {
483
512
  if (isArr && ARRAY_MUTATORS.has(key)) {
484
513
  return (...args) => {
485
514
  let result;
486
- chunkTSQ7AKFT_cjs.batch(() => {
515
+ chunkYSKF3VRA_cjs.batch(() => {
487
516
  const rawArgs = args.map(
488
517
  (a) => a != null && typeof a === "object" && a[RAW] ? a[RAW] : a
489
518
  );
@@ -597,11 +626,11 @@ function createStore(initial) {
597
626
  }
598
627
  const rootProxy = wrap(initial, "");
599
628
  function getCurrentSnapshot() {
600
- return chunkTSQ7AKFT_cjs.untrack(() => deepClone(initial));
629
+ return chunkYSKF3VRA_cjs.untrack(() => deepClone(initial));
601
630
  }
602
631
  const setter = (partial) => {
603
632
  const updates = typeof partial === "function" ? partial(getCurrentSnapshot()) : partial;
604
- chunkTSQ7AKFT_cjs.batch(() => {
633
+ chunkYSKF3VRA_cjs.batch(() => {
605
634
  for (const key of Object.keys(updates)) {
606
635
  rootProxy[key] = updates[key];
607
636
  }
@@ -616,11 +645,11 @@ function createHistory(source, options) {
616
645
  const maxLength = options?.maxLength ?? 100;
617
646
  let _stack = [sourceGet()];
618
647
  let _cursor = 0;
619
- const [stackSignal, setStackSignal] = chunkFPSLC62A_cjs.createValueSignal([..._stack]);
620
- const [cursorSignal, setCursorSignal] = chunkFPSLC62A_cjs.createValueSignal(_cursor);
621
- const [stackLenSignal, setStackLenSignal] = chunkFPSLC62A_cjs.createValueSignal(_stack.length);
648
+ const [stackSignal, setStackSignal] = chunkKH3F5NRU_cjs.createSignal([..._stack]);
649
+ const [cursorSignal, setCursorSignal] = chunkKH3F5NRU_cjs.createSignal(_cursor);
650
+ const [stackLenSignal, setStackLenSignal] = chunkKH3F5NRU_cjs.createSignal(_stack.length);
622
651
  function syncSignals() {
623
- chunkTSQ7AKFT_cjs.batch(() => {
652
+ chunkYSKF3VRA_cjs.batch(() => {
624
653
  setStackSignal([..._stack]);
625
654
  setCursorSignal(_cursor);
626
655
  setStackLenSignal(_stack.length);
@@ -628,7 +657,7 @@ function createHistory(source, options) {
628
657
  }
629
658
  let ignoreNext = false;
630
659
  let isFirstRun = true;
631
- chunkTSQ7AKFT_cjs.internalEffect(() => {
660
+ chunkYSKF3VRA_cjs.internalEffect(() => {
632
661
  const value = sourceGet();
633
662
  if (isFirstRun) {
634
663
  isFirstRun = false;
@@ -696,7 +725,7 @@ function persist(source, key, options) {
696
725
  }
697
726
  } catch {
698
727
  }
699
- chunkTSQ7AKFT_cjs.internalEffect(() => {
728
+ chunkYSKF3VRA_cjs.internalEffect(() => {
700
729
  const value = sourceGet();
701
730
  try {
702
731
  const serialized = serialize(value);
@@ -1101,9 +1130,9 @@ function createIndexedDB(dbName, storeName = "default") {
1101
1130
 
1102
1131
  // src/http/fetch.ts
1103
1132
  function createFetch(url, options) {
1104
- const [data, setData] = chunkFPSLC62A_cjs.createSignal(null);
1105
- const [error, setError] = chunkFPSLC62A_cjs.createSignal(null);
1106
- const [loading, setLoading] = chunkFPSLC62A_cjs.createSignal(false);
1133
+ const [data, setData] = chunkKH3F5NRU_cjs.createSignal(null);
1134
+ const [error, setError] = chunkKH3F5NRU_cjs.createSignal(null);
1135
+ const [loading, setLoading] = chunkKH3F5NRU_cjs.createSignal(false);
1107
1136
  let currentController = null;
1108
1137
  function resolveURL() {
1109
1138
  const raw = typeof url === "function" ? url() : url;
@@ -1153,7 +1182,7 @@ function createFetch(url, options) {
1153
1182
  }
1154
1183
  }
1155
1184
  if (typeof url === "function") {
1156
- chunkTSQ7AKFT_cjs.internalEffect(() => {
1185
+ chunkYSKF3VRA_cjs.internalEffect(() => {
1157
1186
  url();
1158
1187
  execute();
1159
1188
  });
@@ -1182,9 +1211,9 @@ async function fetchJSON(url, options) {
1182
1211
 
1183
1212
  // src/http/sse.ts
1184
1213
  function createSSE(url, options) {
1185
- const [data, setData] = chunkFPSLC62A_cjs.createSignal(null);
1186
- const [error, setError] = chunkFPSLC62A_cjs.createSignal(null);
1187
- const [connected, setConnected] = chunkFPSLC62A_cjs.createSignal(false);
1214
+ const [data, setData] = chunkKH3F5NRU_cjs.createSignal(null);
1215
+ const [error, setError] = chunkKH3F5NRU_cjs.createSignal(null);
1216
+ const [connected, setConnected] = chunkKH3F5NRU_cjs.createSignal(false);
1188
1217
  const source = new EventSource(url, {
1189
1218
  withCredentials: options?.withCredentials ?? false
1190
1219
  });
@@ -1238,8 +1267,8 @@ function createWebSocket(url, options) {
1238
1267
  const shouldReconnect = options?.reconnect ?? true;
1239
1268
  const baseInterval = options?.reconnectInterval ?? 1e3;
1240
1269
  const maxReconnects = options?.maxReconnects ?? 5;
1241
- const [data, setData] = chunkFPSLC62A_cjs.createSignal(null);
1242
- const [status, setStatus] = chunkFPSLC62A_cjs.createSignal("connecting");
1270
+ const [data, setData] = chunkKH3F5NRU_cjs.createSignal(null);
1271
+ const [status, setStatus] = chunkKH3F5NRU_cjs.createSignal("connecting");
1243
1272
  const handlers = /* @__PURE__ */ new Set();
1244
1273
  let socket = null;
1245
1274
  let reconnectCount = 0;
@@ -1315,21 +1344,21 @@ function createWebSocket(url, options) {
1315
1344
 
1316
1345
  // src/server/action.ts
1317
1346
  function createAction(serverFn, options) {
1318
- const [pending, setPending] = chunkFPSLC62A_cjs.createValueSignal(false);
1319
- const [error, setError] = chunkFPSLC62A_cjs.createValueSignal(void 0);
1347
+ const [pending, setPending] = chunkKH3F5NRU_cjs.createSignal(false);
1348
+ const [error, setError] = chunkKH3F5NRU_cjs.createSignal(void 0);
1320
1349
  const action = async (...args) => {
1321
1350
  setPending(true);
1322
1351
  setError(void 0);
1323
1352
  if (options?.optimistic) {
1324
1353
  try {
1325
- chunkTSQ7AKFT_cjs.batch(() => options.optimistic(...args));
1354
+ chunkYSKF3VRA_cjs.batch(() => options.optimistic(...args));
1326
1355
  } catch {
1327
1356
  }
1328
1357
  }
1329
1358
  try {
1330
1359
  const result = await serverFn(...args);
1331
1360
  if (options?.onSuccess) {
1332
- chunkTSQ7AKFT_cjs.batch(() => options.onSuccess(result, ...args));
1361
+ chunkYSKF3VRA_cjs.batch(() => options.onSuccess(result, ...args));
1333
1362
  }
1334
1363
  if (options?.invalidates) {
1335
1364
  for (const resource of options.invalidates) {
@@ -1341,7 +1370,7 @@ function createAction(serverFn, options) {
1341
1370
  } catch (err) {
1342
1371
  if (options?.onError) {
1343
1372
  try {
1344
- chunkTSQ7AKFT_cjs.batch(() => options.onError(err, ...args));
1373
+ chunkYSKF3VRA_cjs.batch(() => options.onError(err, ...args));
1345
1374
  } catch {
1346
1375
  }
1347
1376
  }
@@ -1509,91 +1538,87 @@ async function renderIsland(slotsJson, islandId) {
1509
1538
 
1510
1539
  Object.defineProperty(exports, "Fragment", {
1511
1540
  enumerable: true,
1512
- get: function () { return chunkTSQ7AKFT_cjs.Fragment; }
1541
+ get: function () { return chunkYSKF3VRA_cjs.Fragment; }
1513
1542
  });
1514
1543
  Object.defineProperty(exports, "batch", {
1515
1544
  enumerable: true,
1516
- get: function () { return chunkTSQ7AKFT_cjs.batch; }
1545
+ get: function () { return chunkYSKF3VRA_cjs.batch; }
1517
1546
  });
1518
1547
  Object.defineProperty(exports, "cleanup", {
1519
1548
  enumerable: true,
1520
- get: function () { return chunkTSQ7AKFT_cjs.cleanup; }
1549
+ get: function () { return chunkYSKF3VRA_cjs.cleanup; }
1521
1550
  });
1522
1551
  Object.defineProperty(exports, "createEffect", {
1523
1552
  enumerable: true,
1524
- get: function () { return chunkTSQ7AKFT_cjs.createEffect; }
1553
+ get: function () { return chunkYSKF3VRA_cjs.createEffect; }
1525
1554
  });
1526
1555
  Object.defineProperty(exports, "createList", {
1527
1556
  enumerable: true,
1528
- get: function () { return chunkTSQ7AKFT_cjs.createList; }
1557
+ get: function () { return chunkYSKF3VRA_cjs.createList; }
1529
1558
  });
1530
1559
  Object.defineProperty(exports, "createMemo", {
1531
1560
  enumerable: true,
1532
- get: function () { return chunkTSQ7AKFT_cjs.createMemo; }
1561
+ get: function () { return chunkYSKF3VRA_cjs.createMemo; }
1533
1562
  });
1534
1563
  Object.defineProperty(exports, "createReducer", {
1535
1564
  enumerable: true,
1536
- get: function () { return chunkTSQ7AKFT_cjs.createReducer; }
1565
+ get: function () { return chunkYSKF3VRA_cjs.createReducer; }
1537
1566
  });
1538
1567
  Object.defineProperty(exports, "createRef", {
1539
1568
  enumerable: true,
1540
- get: function () { return chunkTSQ7AKFT_cjs.createRef; }
1569
+ get: function () { return chunkYSKF3VRA_cjs.createRef; }
1541
1570
  });
1542
1571
  Object.defineProperty(exports, "createResource", {
1543
1572
  enumerable: true,
1544
- get: function () { return chunkTSQ7AKFT_cjs.createResource; }
1573
+ get: function () { return chunkYSKF3VRA_cjs.createResource; }
1545
1574
  });
1546
1575
  Object.defineProperty(exports, "createRoot", {
1547
1576
  enumerable: true,
1548
- get: function () { return chunkTSQ7AKFT_cjs.createRoot; }
1577
+ get: function () { return chunkYSKF3VRA_cjs.createRoot; }
1549
1578
  });
1550
1579
  Object.defineProperty(exports, "createShow", {
1551
1580
  enumerable: true,
1552
- get: function () { return chunkTSQ7AKFT_cjs.createShow; }
1581
+ get: function () { return chunkYSKF3VRA_cjs.createShow; }
1553
1582
  });
1554
1583
  Object.defineProperty(exports, "fragment", {
1555
1584
  enumerable: true,
1556
- get: function () { return chunkTSQ7AKFT_cjs.fragment; }
1585
+ get: function () { return chunkYSKF3VRA_cjs.fragment; }
1557
1586
  });
1558
1587
  Object.defineProperty(exports, "h", {
1559
1588
  enumerable: true,
1560
- get: function () { return chunkTSQ7AKFT_cjs.h; }
1589
+ get: function () { return chunkYSKF3VRA_cjs.h; }
1561
1590
  });
1562
1591
  Object.defineProperty(exports, "hydrateIsland", {
1563
1592
  enumerable: true,
1564
- get: function () { return chunkTSQ7AKFT_cjs.hydrateIsland; }
1565
- });
1566
- Object.defineProperty(exports, "longestIncreasingSubsequence", {
1567
- enumerable: true,
1568
- get: function () { return chunkTSQ7AKFT_cjs.longestIncreasingSubsequence; }
1593
+ get: function () { return chunkYSKF3VRA_cjs.hydrateIsland; }
1569
1594
  });
1570
1595
  Object.defineProperty(exports, "on", {
1571
1596
  enumerable: true,
1572
- get: function () { return chunkTSQ7AKFT_cjs.on; }
1597
+ get: function () { return chunkYSKF3VRA_cjs.on; }
1573
1598
  });
1574
1599
  Object.defineProperty(exports, "onCleanup", {
1575
1600
  enumerable: true,
1576
- get: function () { return chunkTSQ7AKFT_cjs.onCleanup; }
1601
+ get: function () { return chunkYSKF3VRA_cjs.onCleanup; }
1577
1602
  });
1578
1603
  Object.defineProperty(exports, "onError", {
1579
1604
  enumerable: true,
1580
- get: function () { return chunkTSQ7AKFT_cjs.onError; }
1605
+ get: function () { return chunkYSKF3VRA_cjs.onError; }
1581
1606
  });
1582
1607
  Object.defineProperty(exports, "reconcileList", {
1583
1608
  enumerable: true,
1584
- get: function () { return chunkTSQ7AKFT_cjs.reconcileList; }
1609
+ get: function () { return chunkYSKF3VRA_cjs.reconcileList; }
1585
1610
  });
1586
1611
  Object.defineProperty(exports, "untrack", {
1587
1612
  enumerable: true,
1588
- get: function () { return chunkTSQ7AKFT_cjs.untrack; }
1613
+ get: function () { return chunkYSKF3VRA_cjs.untrack; }
1589
1614
  });
1590
1615
  Object.defineProperty(exports, "createComputed", {
1591
1616
  enumerable: true,
1592
- get: function () { return chunkFPSLC62A_cjs.createComputed; }
1617
+ get: function () { return chunkKH3F5NRU_cjs.createComputed; }
1593
1618
  });
1594
1619
  Object.defineProperty(exports, "createSignal", {
1595
1620
  enumerable: true,
1596
- get: function () { return chunkFPSLC62A_cjs.createSignal; }
1621
+ get: function () { return chunkKH3F5NRU_cjs.createSignal; }
1597
1622
  });
1598
1623
  exports.$ = $;
1599
1624
  exports.$$ = $$;
@@ -1620,6 +1645,8 @@ exports.createSuspense = createSuspense;
1620
1645
  exports.createSwitch = createSwitch;
1621
1646
  exports.createText = createText;
1622
1647
  exports.createWebSocket = createWebSocket;
1648
+ exports.deactivateAllIslands = deactivateAllIslands;
1649
+ exports.deactivateIsland = deactivateIsland;
1623
1650
  exports.defineComponent = defineComponent;
1624
1651
  exports.delegate = delegate;
1625
1652
  exports.disposeComponent = disposeComponent;