@askrjs/askr 0.0.75 → 0.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/actions/index.js +1 -1
  2. package/dist/{activity-386uXmPJ.js → activity-BWQeEtNt.js} +2 -2
  3. package/dist/{authoring-ycOVkX1-.js → authoring-prA293gq.js} +2 -2
  4. package/dist/benchmark.js +6 -6
  5. package/dist/boot/index.js +1 -1
  6. package/dist/{boot-eaBrci4W.js → boot-Cc5axhVo.js} +11 -11
  7. package/dist/{cleanup-e4Rn287s.js → cleanup-CyY1ROBI.js} +1 -1
  8. package/dist/{component-internal-iJ7HAcpc.js → component-internal-TurioKgs.js} +2 -2
  9. package/dist/components/index.js +1 -1
  10. package/dist/control/index.js +1 -1
  11. package/dist/{control-ByyOdVdr.js → control-D9UorK1Q.js} +3 -3
  12. package/dist/{csp-nonce-BLkoekFX.js → csp-nonce-DYspaK0L.js} +1 -1
  13. package/dist/data/index.js +1 -1
  14. package/dist/{data-E7oXei9c.js → data-vaClyf1I.js} +1 -1
  15. package/dist/{deferred-iBBHEN5Z.js → deferred-Dfk7vuTX.js} +4 -4
  16. package/dist/{fastlane-BbexfvHo.js → fastlane-CkBXZ_3K.js} +2 -2
  17. package/dist/{for-internal-tNicxJY3.js → for-internal-BM8KbadU.js} +1 -1
  18. package/dist/foundations/index.js +2 -2
  19. package/dist/foundations/state/index.js +1 -1
  20. package/dist/foundations/structures/index.js +2 -2
  21. package/dist/index.js +7 -7
  22. package/dist/jsx-C3IECePB.js +12 -0
  23. package/dist/jsx-dev-runtime.js +1 -1
  24. package/dist/jsx-runtime.js +1 -1
  25. package/dist/{lifecycle-operations-D2wzCYYh.js → lifecycle-operations-DxwqHvyx.js} +1 -1
  26. package/dist/{navigate-BwCpLrSM.js → navigate-CwddZjwU.js} +8 -8
  27. package/dist/{portal-EKmTCMKp.js → portal-BsSJusvs.js} +1 -1
  28. package/dist/{renderer-GFETYwZ6.js → renderer-Ba-KixHB.js} +89 -29
  29. package/dist/resources/index.js +4 -4
  30. package/dist/{route-matching-Dmb_MKUb.js → route-matching-DqM8k4tZ.js} +2 -2
  31. package/dist/router/index.d.ts +2 -0
  32. package/dist/router/index.js +7 -5
  33. package/dist/ssg/index.js +3 -3
  34. package/dist/ssr/index.js +1 -1
  35. package/dist/{ssr-CtumC_es.js → ssr-Cv5qWPxz.js} +11 -11
  36. package/dist/{state-rjmMPExl.js → state-BCl9DeiN.js} +1 -1
  37. package/dist/{structures-DUB3HchX.js → structures-D3vO-WMN.js} +1 -1
  38. package/dist/testing/index.js +2 -2
  39. package/dist/{verify-hydration-GMsdoOUX.js → verify-hydration-BC5bmXr4.js} +1 -1
  40. package/package.json +1 -1
  41. package/dist/jsx-CUpRxrLH.js +0 -6
@@ -1,6 +1,6 @@
1
1
  import { d as getCurrentAppRenderRuntime } from "../component-scope-DzJEbYGE.js";
2
2
  import { r as getCurrentRenderData } from "../render-context-Clw3rFiO.js";
3
- import { t as state } from "../state-rjmMPExl.js";
3
+ import { t as state } from "../state-BCl9DeiN.js";
4
4
  import { jsx, jsxs } from "../jsx-runtime.js";
5
5
  import { c as resolveDataRuntimeState, s as invalidateQueriesForRuntime } from "../data-runtime-rpV6-3XW.js";
6
6
  //#region src/actions/runtime.ts
@@ -1,8 +1,8 @@
1
- import { a as registerCommitOperation } from "./component-internal-iJ7HAcpc.js";
1
+ import { a as registerCommitOperation } from "./component-internal-TurioKgs.js";
2
2
  import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
3
3
  import { d as getCurrentAppRenderRuntime, f as getCurrentComponentInstance, i as claimHookIndex } from "./component-scope-DzJEbYGE.js";
4
4
  import { n as getActiveRenderContext } from "./render-context-Clw3rFiO.js";
5
- import { c as deepFreeze, g as getActiveRoutes, l as makeQuery, n as computeMatchesFromRoutes, u as parseLocation } from "./route-matching-Dmb_MKUb.js";
5
+ import { c as deepFreeze, g as getActiveRoutes, l as makeQuery, n as computeMatchesFromRoutes, u as parseLocation } from "./route-matching-DqM8k4tZ.js";
6
6
  import { n as syncRouteActivitySnapshot } from "./route-activity-CNJfpwx-.js";
7
7
  //#region src/common/app-render-runtime.ts
8
8
  const stagedRouteLocations = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  import { f as getCurrentComponentInstance } from "./component-scope-DzJEbYGE.js";
2
- import { E as getExecutionModel, x as createRouteHandler } from "./deferred-iBBHEN5Z.js";
3
- import { A as insertRecordSorted, C as getCurrentPathPrefix, I as computeRank, L as normalizeRouteSegmentName, M as pushRegistrationScope, O as hasActivePageScope, R as parseSegments, S as getCurrentPageScope, _ as getCurrentInheritedAuthRequirements, b as getCurrentLayoutChain, f as addRouteToStores, p as assertRouteRegistrationUnlocked, v as getCurrentInheritedMeta, w as getCurrentScopeKind, x as getCurrentPageChain, y as getCurrentInheritedPolicies } from "./route-matching-Dmb_MKUb.js";
2
+ import { E as getExecutionModel, x as createRouteHandler } from "./deferred-Dfk7vuTX.js";
3
+ import { A as insertRecordSorted, C as getCurrentPathPrefix, I as computeRank, L as normalizeRouteSegmentName, M as pushRegistrationScope, O as hasActivePageScope, R as parseSegments, S as getCurrentPageScope, _ as getCurrentInheritedAuthRequirements, b as getCurrentLayoutChain, f as addRouteToStores, p as assertRouteRegistrationUnlocked, v as getCurrentInheritedMeta, w as getCurrentScopeKind, x as getCurrentPageChain, y as getCurrentInheritedPolicies } from "./route-matching-DqM8k4tZ.js";
4
4
  import { allOf } from "@askrjs/auth";
5
5
  //#region src/router/access.ts
6
6
  function compileNodePolicies(node) {
package/dist/benchmark.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { r as flushRuntimeScheduler } from "./access-ePqdQqkV.js";
2
- import { t as installRendererBridge } from "./renderer-GFETYwZ6.js";
3
- import { t as state } from "./state-rjmMPExl.js";
2
+ import { t as installRendererBridge } from "./renderer-Ba-KixHB.js";
3
+ import { t as state } from "./state-BCl9DeiN.js";
4
4
  import { t as selector } from "./selector-BzPPLXny.js";
5
+ import { i as For } from "./control-D9UorK1Q.js";
5
6
  import { jsx, jsxs } from "./jsx-runtime.js";
6
- import { i as For } from "./control-ByyOdVdr.js";
7
- import { t as createIsland } from "./boot-eaBrci4W.js";
7
+ import { t as createIsland } from "./boot-Cc5axhVo.js";
8
8
  //#region src/bench/components/benchmark-row.tsx
9
9
  function BenchmarkRow({ item, isSelected, onSelect, onRemove }) {
10
10
  return /* @__PURE__ */ jsxs("tr", {
@@ -63,8 +63,8 @@ function BenchmarkTable({ rows, isSelected, onSelect, onRemove }) {
63
63
  installRendererBridge();
64
64
  const benchmarkMetadata = {
65
65
  packageName: "@askrjs/askr",
66
- packageVersion: "0.0.75",
67
- buildLabel: "0.0.75-local"
66
+ packageVersion: "0.0.77",
67
+ buildLabel: "0.0.77-local"
68
68
  };
69
69
  function getBenchmarkMetadata() {
70
70
  return { ...benchmarkMetadata };
@@ -1,2 +1,2 @@
1
- import { a as cleanupApp, i as hydrateSPA, n as createIslands, o as hasApp, r as createSPA, t as createIsland } from "../boot-eaBrci4W.js";
1
+ import { a as cleanupApp, i as hydrateSPA, n as createIslands, o as hasApp, r as createSPA, t as createIsland } from "../boot-Cc5axhVo.js";
2
2
  export { cleanupApp, createIsland, createIslands, createSPA, hasApp, hydrateSPA };
@@ -1,19 +1,19 @@
1
1
  import { b as isDevelopmentEnvironment, r as flushRuntimeScheduler, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
2
- import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
3
- import { n as createComponentInstance, r as executeComponent } from "./component-internal-iJ7HAcpc.js";
2
+ import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
+ import { n as createComponentInstance, r as executeComponent } from "./component-internal-TurioKgs.js";
4
4
  import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
5
5
  import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
6
- import { a as withIntrinsicHydrationAdoption, c as beginHydrationListenerTransaction, d as setStaticChildSlotsCacheEnabled, i as registerDeferredHydrationBoundary, l as commitHydrationListenerTransaction, n as activateHydrationBoundary$1, o as beginHydrationDirectListenerMode, r as clearDeferredHydrationBoundaries, s as endHydrationDirectListenerMode, t as installRendererBridge, u as discardHydrationListenerTransaction } from "./renderer-GFETYwZ6.js";
7
- import { _ as teardownNodeSubtree, d as removeAllListeners } from "./cleanup-e4Rn287s.js";
8
- import { T as assertExecutionModel, c as _applyManifest, d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, o as reviveDeferredValue, p as hasRouteRenderData, v as pageRenderEnvelope } from "./deferred-iBBHEN5Z.js";
6
+ import { a as withIntrinsicHydrationAdoption, c as beginHydrationListenerTransaction, d as setStaticChildSlotsCacheEnabled, i as registerDeferredHydrationBoundary, l as commitHydrationListenerTransaction, n as activateHydrationBoundary$1, o as beginHydrationDirectListenerMode, r as clearDeferredHydrationBoundaries, s as endHydrationDirectListenerMode, t as installRendererBridge, u as discardHydrationListenerTransaction } from "./renderer-Ba-KixHB.js";
7
+ import { _ as teardownNodeSubtree, d as removeAllListeners } from "./cleanup-CyY1ROBI.js";
8
+ import { T as assertExecutionModel, c as _applyManifest, d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, o as reviveDeferredValue, p as hasRouteRenderData, v as pageRenderEnvelope } from "./deferred-Dfk7vuTX.js";
9
9
  import { a as startHydrationRenderPhase, s as stopHydrationRenderPhase } from "./render-context-Clw3rFiO.js";
10
- import { d as _setActiveRouteAuthOptions, j as lockRouteRegistration, k as hasRegisteredRoutes, m as clearRouteState } from "./route-matching-Dmb_MKUb.js";
11
- import { a as disposeDefaultPortalScope, t as DefaultPortal } from "./portal-EKmTCMKp.js";
12
- import { r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-BLkoekFX.js";
10
+ import { d as _setActiveRouteAuthOptions, j as lockRouteRegistration, k as hasRegisteredRoutes, m as clearRouteState } from "./route-matching-DqM8k4tZ.js";
11
+ import { a as disposeDefaultPortalScope, t as DefaultPortal } from "./portal-BsSJusvs.js";
12
+ import { r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-DYspaK0L.js";
13
13
  import { i as getDefaultDataRuntime } from "./data-runtime-rpV6-3XW.js";
14
14
  import { a as hydrateDataRuntime } from "./query-registry-Bu_cuMch.js";
15
- import { o as createAppRenderRuntime, r as setServerLocation } from "./activity-386uXmPJ.js";
16
- import { f as registerAppInstance, g as unregisterAppInstance, i as resolveRouteMeta, o as configureScrollRestoration, r as reconcileRouteMeta, t as initializeNavigation } from "./navigate-BwCpLrSM.js";
15
+ import { o as createAppRenderRuntime, r as setServerLocation } from "./activity-BWQeEtNt.js";
16
+ import { f as registerAppInstance, g as unregisterAppInstance, i as resolveRouteMeta, o as configureScrollRestoration, r as reconcileRouteMeta, t as initializeNavigation } from "./navigate-CwddZjwU.js";
17
17
  import "./ssr-CbQO5xd3.js";
18
18
  //#region src/boot/hydration.ts
19
19
  const DEFERRED_PAYLOAD = "__askr_deferred__";
@@ -585,7 +585,7 @@ async function hydrateSPA(config) {
585
585
  cspNonce: config.cspNonce
586
586
  }));
587
587
  if (shouldVerifyHydrationMarkup(config)) {
588
- const { verifyHydrationSyncForUrl } = await import("./verify-hydration-GMsdoOUX.js");
588
+ const { verifyHydrationSyncForUrl } = await import("./verify-hydration-BC5bmXr4.js");
589
589
  if (!verifyHydrationSyncForUrl({
590
590
  root: rootElement,
591
591
  url: currentUrl,
@@ -1,5 +1,5 @@
1
1
  import { c as runRuntimeHandlerScope, v as logger } from "./access-ePqdQqkV.js";
2
- import "./fastlane-BbexfvHo.js";
2
+ import "./fastlane-CkBXZ_3K.js";
3
3
  import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
4
4
  import { u as registerLifecycleTransaction } from "./lifecycle-batch-CwHCDseR.js";
5
5
  //#region src/runtime/events.ts
@@ -1,7 +1,7 @@
1
1
  import { r as markEagerControlPrimitive } from "./control-DhFRTIoE.js";
2
2
  import { b as isDevelopmentEnvironment, n as enqueueRuntimeTask, o as getRuntimeRenderer, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
3
- import { r as tryRuntimeFastLaneSync, t as isBulkCommitActive } from "./fastlane-BbexfvHo.js";
4
- import { r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
3
+ import { r as tryRuntimeFastLaneSync, t as isBulkCommitActive } from "./fastlane-CkBXZ_3K.js";
4
+ import { r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
5
5
  import { i as finalizeReadableSubscriptions } from "./readable-B3VIOfd7.js";
6
6
  import { C as restoreRenderScopedComponent, S as restoreInlineRenderTracking, _ as getSignalForInstance, b as restoreDomCommitScope, c as enterDomCommitScope, f as getCurrentComponentInstance, l as enterRenderScopedComponent, m as getCurrentPortalScope, n as captureInlineComponentScope, o as clearRenderTracking, p as getCurrentInstance, r as captureInlineRenderTracking, s as enterComponentExecutionScope, t as beginRenderTracking, u as exitComponentExecutionScope, v as resetRenderState, x as restoreInlineComponentScope } from "./component-scope-DzJEbYGE.js";
7
7
  import { a as enqueueLifecycleCommitForInstance, d as discardCommitOperations, f as executeCommittedLifecycleOperations, n as captureInlineRenderSnapshot$1, o as finalizeInlineReadSubscriptions, p as isPromiseLike, r as discardLifecycleCommitBatch, s as flushLifecycleCommitBatch, t as beginLifecycleCommitBatch } from "./lifecycle-batch-CwHCDseR.js";
@@ -1,5 +1,5 @@
1
1
  import { t as __ERROR_BOUNDARY__ } from "../vnode-D24p6IW2.js";
2
- import { t as ELEMENT_TYPE } from "../jsx-CUpRxrLH.js";
2
+ import { t as ELEMENT_TYPE } from "../jsx-C3IECePB.js";
3
3
  import { f as getCurrentComponentInstance } from "../component-scope-DzJEbYGE.js";
4
4
  //#region src/components/error-boundary.tsx
5
5
  function ensureBoundaryState(instance, resetKey) {
@@ -1,2 +1,2 @@
1
- import { i as For, n as Match, r as Show, t as Case } from "../control-ByyOdVdr.js";
1
+ import { i as For, n as Match, r as Show, t as Case } from "../control-D9UorK1Q.js";
2
2
  export { Case, For, Match, Show };
@@ -1,9 +1,9 @@
1
1
  import { r as markEagerControlPrimitive, t as __CONTROL_BOUNDARY__ } from "./control-DhFRTIoE.js";
2
2
  import { b as isDevelopmentEnvironment } from "./access-ePqdQqkV.js";
3
- import { n as Fragment } from "./jsx-CUpRxrLH.js";
4
- import { m as createShowState, p as createCaseState, s as useForState } from "./for-internal-tNicxJY3.js";
3
+ import { n as Fragment } from "./jsx-C3IECePB.js";
4
+ import { m as createShowState, p as createCaseState, s as useForState } from "./for-internal-BM8KbadU.js";
5
5
  import { t as createFineGrainedEffect } from "./effect-2IIWvUjG.js";
6
- import { t as state } from "./state-rjmMPExl.js";
6
+ import { t as state } from "./state-BCl9DeiN.js";
7
7
  //#region src/control/shared.ts
8
8
  function normalizeBoundaryChild(value) {
9
9
  if (Array.isArray(value)) {
@@ -1,4 +1,4 @@
1
- import { g as readScope, u as defineScope } from "./component-internal-iJ7HAcpc.js";
1
+ import { g as readScope, u as defineScope } from "./component-internal-TurioKgs.js";
2
2
  //#region src/common/url.ts
3
3
  const SAFE_URL_SCHEMES = /* @__PURE__ */ new Set([
4
4
  "http",
@@ -1,4 +1,4 @@
1
1
  import { i as getDefaultDataRuntime, t as createDataRuntime } from "../data-runtime-rpV6-3XW.js";
2
- import { a as queryScope, i as invalidateOnInterval, n as createMutation, r as invalidate, t as createQuery } from "../data-E7oXei9c.js";
2
+ import { a as queryScope, i as invalidateOnInterval, n as createMutation, r as invalidate, t as createQuery } from "../data-vaClyf1I.js";
3
3
  import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery, t as createQueryPrefetchContext } from "../query-registry-Bu_cuMch.js";
4
4
  export { createDataRuntime, createMutation, createQuery, createQueryPrefetchContext, defineQuery, defineServerQueries, dehydrateDataRuntime, getDefaultDataRuntime, hydrateDataRuntime, invalidate, invalidateOnInterval, prefetchQuery, queryScope, serveQuery };
@@ -2,7 +2,7 @@ import { n as enqueueRuntimeTask, v as logger } from "./access-ePqdQqkV.js";
2
2
  import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
3
3
  import { f as getCurrentComponentInstance, i as claimHookIndex } from "./component-scope-DzJEbYGE.js";
4
4
  import { n as getActiveRenderContext } from "./render-context-Clw3rFiO.js";
5
- import { i as routeActive, n as documentVisible, o as timer, s as windowFocused } from "./lifecycle-operations-D2wzCYYh.js";
5
+ import { i as routeActive, n as documentVisible, o as timer, s as windowFocused } from "./lifecycle-operations-DxwqHvyx.js";
6
6
  import { a as getMutationSlotStore, c as resolveDataRuntimeState, i as getDefaultDataRuntime, n as ensureMutationCleanup, o as getQuerySlotStore, r as ensureQueryCleanup, s as invalidateQueriesForRuntime } from "./data-runtime-rpV6-3XW.js";
7
7
  //#region src/data/query-key.ts
8
8
  function serializeQueryKeyNumber(part) {
@@ -1,10 +1,10 @@
1
- import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
2
- import { g as readScope, u as defineScope } from "./component-internal-iJ7HAcpc.js";
1
+ import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
2
+ import { g as readScope, u as defineScope } from "./component-internal-TurioKgs.js";
3
3
  import { d as getCurrentAppRenderRuntime } from "./component-scope-DzJEbYGE.js";
4
4
  import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
5
5
  import { n as getActiveRenderContext, r as getCurrentRenderData } from "./render-context-Clw3rFiO.js";
6
- import { A as insertRecordSorted, D as getRouteRecords, E as getRouteList, F as snapshotRouteState, N as restoreRouteState, P as setDefaultRouteAuthOptions, T as getDefaultRouteAuthOptions, f as addRouteToStores, h as getActiveRouteAuthOptions, i as getMatchingRouteRecord, m as clearRouteState, o as buildRouteContext, s as buildRouteContextBase, z as resource } from "./route-matching-Dmb_MKUb.js";
7
- import { i as ROUTE_ROOT_COMPONENT } from "./csp-nonce-BLkoekFX.js";
6
+ import { A as insertRecordSorted, D as getRouteRecords, E as getRouteList, F as snapshotRouteState, N as restoreRouteState, P as setDefaultRouteAuthOptions, T as getDefaultRouteAuthOptions, f as addRouteToStores, h as getActiveRouteAuthOptions, i as getMatchingRouteRecord, m as clearRouteState, o as buildRouteContext, s as buildRouteContextBase, z as resource } from "./route-matching-DqM8k4tZ.js";
7
+ import { i as ROUTE_ROOT_COMPONENT } from "./csp-nonce-DYspaK0L.js";
8
8
  import { c as withTelemetry, t as createQueryPrefetchContext } from "./query-registry-Bu_cuMch.js";
9
9
  //#region src/runtime/execution-model.ts
10
10
  const EXECUTION_MODEL_KEY = Symbol.for("__ASKR_EXECUTION_MODEL__");
@@ -1,5 +1,5 @@
1
1
  import { b as isDevelopmentEnvironment, l as runRuntimeWithSyncProgress, o as getRuntimeRenderer, u as setRuntimeBulkCommitProbe } from "./access-ePqdQqkV.js";
2
- import { n as Fragment } from "./jsx-CUpRxrLH.js";
2
+ import { i as isFragmentType } from "./jsx-C3IECePB.js";
3
3
  import { i as finalizeReadableSubscriptions } from "./readable-B3VIOfd7.js";
4
4
  //#region src/runtime/dev-namespace.ts
5
5
  /**
@@ -48,7 +48,7 @@ function finalizeReadSubscriptions(instance) {
48
48
  function unwrapFragmentForFastPath(vnode) {
49
49
  if (!vnode || typeof vnode !== "object" || !("type" in vnode)) return vnode;
50
50
  const v = vnode;
51
- if (typeof v.type === "symbol" && (v.type === Fragment || String(v.type) === "Symbol(askr.fragment)")) {
51
+ if (isFragmentType(v.type)) {
52
52
  const children = v.props?.children ?? v.children;
53
53
  if (Array.isArray(children) && children.length > 0) {
54
54
  for (const child of children) if (child && typeof child === "object" && "type" in child) {
@@ -1,6 +1,6 @@
1
1
  import { n as _isDOMElement } from "./vnode-D24p6IW2.js";
2
2
  import { b as isDevelopmentEnvironment, o as getRuntimeRenderer, v as logger } from "./access-ePqdQqkV.js";
3
- import { _ as rebaseVNodeTreeWithContextFrame, m as haveEquivalentContextFrames, n as createComponentInstance, s as renderScopedComponent } from "./component-internal-iJ7HAcpc.js";
3
+ import { _ as rebaseVNodeTreeWithContextFrame, m as haveEquivalentContextFrames, n as createComponentInstance, s as renderScopedComponent } from "./component-internal-TurioKgs.js";
4
4
  import { d as shouldCoalesceFineGrainedItemReads, l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
5
5
  import { h as getCurrentStateIndex, i as claimHookIndex, o as clearRenderTracking, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
6
6
  import { i as unregisterOwnedChildScope, r as registerOwnedChildScope, t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
@@ -1,3 +1,3 @@
1
- import { i as definePortal, n as Portal, t as DefaultPortal } from "../portal-EKmTCMKp.js";
2
- import { a as layout, i as Slot, r as Presence } from "../structures-DUB3HchX.js";
1
+ import { i as definePortal, n as Portal, t as DefaultPortal } from "../portal-BsSJusvs.js";
2
+ import { a as layout, i as Slot, r as Presence } from "../structures-D3vO-WMN.js";
3
3
  export { DefaultPortal, Portal, Presence, Slot, definePortal, layout };
@@ -1,4 +1,4 @@
1
- import { t as state } from "../../state-rjmMPExl.js";
1
+ import { t as state } from "../../state-BCl9DeiN.js";
2
2
  //#region src/foundations/state/controllable.ts
3
3
  /**
4
4
  * controllable
@@ -1,3 +1,3 @@
1
- import { i as definePortal, n as Portal, t as DefaultPortal } from "../../portal-EKmTCMKp.js";
2
- import { a as layout, i as Slot, n as createCollection, r as Presence, t as createLayer } from "../../structures-DUB3HchX.js";
1
+ import { i as definePortal, n as Portal, t as DefaultPortal } from "../../portal-BsSJusvs.js";
2
+ import { a as layout, i as Slot, n as createCollection, r as Presence, t as createLayer } from "../../structures-D3vO-WMN.js";
3
3
  export { DefaultPortal, Portal, Presence, Slot, createCollection, createLayer, definePortal, layout };
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { a as getRuntimeFlushVersion, d as AskrRuntime, m as getDefaultRuntime, p as createRuntime, t as enqueueRuntimeLane } from "./access-ePqdQqkV.js";
2
- import { n as Fragment } from "./jsx-CUpRxrLH.js";
3
- import { g as readScope, u as defineScope } from "./component-internal-iJ7HAcpc.js";
2
+ import { n as Fragment } from "./jsx-C3IECePB.js";
3
+ import { g as readScope, u as defineScope } from "./component-internal-TurioKgs.js";
4
4
  import { f as syncDerivedDependencySubscriptions, l as notifyReadableReaders, o as markReactivePropsDirtySource, p as withDerivedReadTracking, r as clearDerivedDependencySubscriptions, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
5
5
  import { g as getSignal, i as claimHookIndex, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
6
6
  import { n as isSnapshotSource } from "./snapshot-source-BB42xgwb.js";
7
- import { t as installRendererBridge } from "./renderer-GFETYwZ6.js";
8
- import { t as state } from "./state-rjmMPExl.js";
7
+ import { t as installRendererBridge } from "./renderer-Ba-KixHB.js";
8
+ import { t as state } from "./state-BCl9DeiN.js";
9
9
  import { t as selector } from "./selector-BzPPLXny.js";
10
+ import { n as cspNonce, t as CspNonceScope } from "./csp-nonce-DYspaK0L.js";
11
+ import { i as For, n as Match, r as Show, t as Case } from "./control-D9UorK1Q.js";
10
12
  import { jsx, jsxs } from "./jsx-runtime.js";
11
- import { n as cspNonce, t as CspNonceScope } from "./csp-nonce-BLkoekFX.js";
12
- import { i as For, n as Match, r as Show, t as Case } from "./control-ByyOdVdr.js";
13
- import { t as createQuery } from "./data-E7oXei9c.js";
13
+ import { t as createQuery } from "./data-vaClyf1I.js";
14
14
  import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery } from "./query-registry-Bu_cuMch.js";
15
15
  //#region src/runtime/derive.ts
16
16
  const deriveCells = /* @__PURE__ */ new WeakMap();
@@ -0,0 +1,12 @@
1
+ //#region src/common/jsx.ts
2
+ const ELEMENT_TYPE = Symbol.for("askr.element");
3
+ const Fragment = Symbol.for("askr.fragment");
4
+ const STATIC_CHILDREN = Symbol.for("askr.static-children");
5
+ function isFragmentType(type) {
6
+ if (typeof type !== "symbol") return false;
7
+ if (type === Fragment) return true;
8
+ const label = String(type);
9
+ return label === "Symbol(askr.fragment)" || label === "Symbol(Fragment)";
10
+ }
11
+ //#endregion
12
+ export { isFragmentType as i, Fragment as n, STATIC_CHILDREN as r, ELEMENT_TYPE as t };
@@ -1,5 +1,5 @@
1
1
  import { n as isEagerControlPrimitive } from "./control-DhFRTIoE.js";
2
- import { n as Fragment, r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
2
+ import { n as Fragment, r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
3
  //#region src/jsx/jsx-dev-runtime.ts
4
4
  function annotatePropsUsage(props) {
5
5
  return props ?? {};
@@ -1,5 +1,5 @@
1
1
  import { n as isEagerControlPrimitive } from "./control-DhFRTIoE.js";
2
- import { n as Fragment, r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
2
+ import { n as Fragment, r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
3
  //#region src/jsx/jsx-runtime.ts
4
4
  function markStaticChildren(props) {
5
5
  if (Array.isArray(props.children)) Object.defineProperty(props.children, STATIC_CHILDREN, {
@@ -1,4 +1,4 @@
1
- import { a as registerCommitOperation } from "./component-internal-iJ7HAcpc.js";
1
+ import { a as registerCommitOperation } from "./component-internal-TurioKgs.js";
2
2
  import { f as getCurrentComponentInstance, i as claimHookIndex } from "./component-scope-DzJEbYGE.js";
3
3
  import { t as isRouteActivityActive } from "./route-activity-CNJfpwx-.js";
4
4
  //#region src/runtime/lifecycle-operations.ts
@@ -1,15 +1,15 @@
1
1
  import { b as isDevelopmentEnvironment, r as flushRuntimeScheduler, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
2
- import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
3
- import { r as executeComponent } from "./component-internal-iJ7HAcpc.js";
2
+ import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
+ import { r as executeComponent } from "./component-internal-TurioKgs.js";
4
4
  import { t as cleanupReadableSubscriptionSources } from "./readable-B3VIOfd7.js";
5
5
  import { n as cleanupComponentGeneration, t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
6
6
  import { i as drainLifecycleCommitErrors, p as isPromiseLike, r as discardLifecycleCommitBatch, s as flushLifecycleCommitBatch, t as beginLifecycleCommitBatch } from "./lifecycle-batch-CwHCDseR.js";
7
- import { _ as teardownNodeSubtree } from "./cleanup-e4Rn287s.js";
8
- import { d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, p as hasRouteRenderData } from "./deferred-iBBHEN5Z.js";
9
- import { j as lockRouteRegistration, r as computeRouteActivityMatches } from "./route-matching-Dmb_MKUb.js";
10
- import { r as clearDefaultPortalForInstance, t as DefaultPortal } from "./portal-EKmTCMKp.js";
11
- import { t as CspNonceScope } from "./csp-nonce-BLkoekFX.js";
12
- import { a as clearStagedAppRenderRouteLocation, i as syncCurrentRouteSnapshot, o as createAppRenderRuntime, s as stageAppRenderRouteLocation } from "./activity-386uXmPJ.js";
7
+ import { _ as teardownNodeSubtree } from "./cleanup-CyY1ROBI.js";
8
+ import { d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, p as hasRouteRenderData } from "./deferred-Dfk7vuTX.js";
9
+ import { j as lockRouteRegistration, r as computeRouteActivityMatches } from "./route-matching-DqM8k4tZ.js";
10
+ import { r as clearDefaultPortalForInstance, t as DefaultPortal } from "./portal-BsSJusvs.js";
11
+ import { t as CspNonceScope } from "./csp-nonce-DYspaK0L.js";
12
+ import { a as clearStagedAppRenderRouteLocation, i as syncCurrentRouteSnapshot, o as createAppRenderRuntime, s as stageAppRenderRouteLocation } from "./activity-BWQeEtNt.js";
13
13
  //#region src/router/navigation-registry.ts
14
14
  let currentInstance = null;
15
15
  let currentPathname = "/";
@@ -1,5 +1,5 @@
1
1
  import { o as getRuntimeRenderer } from "./access-ePqdQqkV.js";
2
- import { t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
2
+ import { t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
3
  import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
4
4
  import { f as getCurrentComponentInstance, m as getCurrentPortalScope } from "./component-scope-DzJEbYGE.js";
5
5
  import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
@@ -1,17 +1,17 @@
1
1
  import { t as __CONTROL_BOUNDARY__ } from "./control-DhFRTIoE.js";
2
2
  import { n as _isDOMElement, t as __ERROR_BOUNDARY__ } from "./vnode-D24p6IW2.js";
3
3
  import { b as isDevelopmentEnvironment, c as runRuntimeHandlerScope, f as configureRuntimeRenderer, i as getDefaultRuntimeInstance, n as enqueueRuntimeTask, v as logger, y as getRuntimeEnv } from "./access-ePqdQqkV.js";
4
- import { n as markFastPathApplied, t as isBulkCommitActive } from "./fastlane-BbexfvHo.js";
5
- import { n as Fragment, r as STATIC_CHILDREN } from "./jsx-CUpRxrLH.js";
6
- import { d as getCurrentContextFrame, h as markVNodeTreeWithContextFrame, i as mountInstanceInline, n as createComponentInstance, o as renderComponentInline, p as getVNodeContextFrame, t as captureInlineRenderSnapshot, y as withContext } from "./component-internal-iJ7HAcpc.js";
4
+ import { n as markFastPathApplied, t as isBulkCommitActive } from "./fastlane-CkBXZ_3K.js";
5
+ import { i as isFragmentType, r as STATIC_CHILDREN } from "./jsx-C3IECePB.js";
6
+ import { d as getCurrentContextFrame, h as markVNodeTreeWithContextFrame, i as mountInstanceInline, n as createComponentInstance, o as renderComponentInline, p as getVNodeContextFrame, t as captureInlineRenderSnapshot, y as withContext } from "./component-internal-TurioKgs.js";
7
7
  import { b as restoreDomCommitScope, c as enterDomCommitScope, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
8
8
  import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
9
9
  import { c as getCurrentLifecycleCommitBatch, l as registerLifecycleRollback, p as isPromiseLike, r as discardLifecycleCommitBatch, s as flushLifecycleCommitBatch, t as beginLifecycleCommitBatch, u as registerLifecycleTransaction } from "./lifecycle-batch-CwHCDseR.js";
10
- import { _ as setControlBoundaryContextFrame, a as registerForStateTransaction, b as rerenderChildScope, c as captureForFallbackTransactionSnapshot, d as clearCaseDomUpdateState, f as clearShowDomUpdateState, g as evaluateShowState, h as evaluateCaseState, i as evaluateForState, l as captureForItemTransactionSnapshot, n as clearForDomUpdateState, o as rollbackForStateTransaction, t as beginForStateTransaction, v as createChildScope, y as disposeChildScope } from "./for-internal-tNicxJY3.js";
10
+ import { _ as setControlBoundaryContextFrame, a as registerForStateTransaction, b as rerenderChildScope, c as captureForFallbackTransactionSnapshot, d as clearCaseDomUpdateState, f as clearShowDomUpdateState, g as evaluateShowState, h as evaluateCaseState, i as evaluateForState, l as captureForItemTransactionSnapshot, n as clearForDomUpdateState, o as rollbackForStateTransaction, t as beginForStateTransaction, v as createChildScope, y as disposeChildScope } from "./for-internal-BM8KbadU.js";
11
11
  import { n as createOwnedFineGrainedEffect, r as markFineGrainedEffectsDirtySource, t as createFineGrainedEffect } from "./effect-2IIWvUjG.js";
12
- import { C as getDelegatedHandlersForElement, D as updateDelegatedListener, E as removeDelegatedListener, S as getDelegatedHandlerForElement, T as isEventDelegationEnabled, _ as teardownNodeSubtree, a as elementReactivePropsCleanup, b as addFreshDelegatedListener, c as forEachElementReactivePropCleanup, d as removeAllListeners, f as removeElementReactiveProps, g as setFreshElementReactivePropCleanup, h as setDirectElementReactivePropCleanup, i as elementListeners, l as getElementReactivePropCleanupSize, m as replaceElementRefBookkeeping, n as cleanupInstanceIfPresent, o as elementRefs, p as removeElementRef, r as cleanupInstancesUnder, s as forEachDescendantNode, t as REACTIVE_CHILDREN_KEY, u as getElementReactivePropsCleanupMap, v as updateElementRef, w as isDelegatedEvent, x as clearDelegatedHandlersForElement, y as addDelegatedListener } from "./cleanup-e4Rn287s.js";
12
+ import { C as getDelegatedHandlersForElement, D as updateDelegatedListener, E as removeDelegatedListener, S as getDelegatedHandlerForElement, T as isEventDelegationEnabled, _ as teardownNodeSubtree, a as elementReactivePropsCleanup, b as addFreshDelegatedListener, c as forEachElementReactivePropCleanup, d as removeAllListeners, f as removeElementReactiveProps, g as setFreshElementReactivePropCleanup, h as setDirectElementReactivePropCleanup, i as elementListeners, l as getElementReactivePropCleanupSize, m as replaceElementRefBookkeeping, n as cleanupInstanceIfPresent, o as elementRefs, p as removeElementRef, r as cleanupInstancesUnder, s as forEachDescendantNode, t as REACTIVE_CHILDREN_KEY, u as getElementReactivePropsCleanupMap, v as updateElementRef, w as isDelegatedEvent, x as clearDelegatedHandlersForElement, y as addDelegatedListener } from "./cleanup-CyY1ROBI.js";
13
13
  import { n as getPublicAttributeName, t as sanitizeCssValue } from "./css-BuPaTOfe.js";
14
- import { a as isSafeHref, i as ROUTE_ROOT_COMPONENT } from "./csp-nonce-BLkoekFX.js";
14
+ import { a as isSafeHref, i as ROUTE_ROOT_COMPONENT } from "./csp-nonce-DYspaK0L.js";
15
15
  //#region src/runtime/error-boundary.ts
16
16
  function createBoundaryReset(instance) {
17
17
  return () => {
@@ -1817,8 +1817,8 @@ function performFullReconciliation(parent, newChildren, oldKeyMap) {
1817
1817
  }
1818
1818
  //#endregion
1819
1819
  //#region src/renderer/child-shape.ts
1820
- function isFragmentVNode$1(node) {
1821
- return _isDOMElement(node) && typeof node.type === "symbol" && (node.type === Fragment || String(node.type) === "Symbol(askr.fragment)");
1820
+ function isFragmentVNode(node) {
1821
+ return _isDOMElement(node) && isFragmentType(node.type);
1822
1822
  }
1823
1823
  function normalizeComponentChildren(result) {
1824
1824
  if (result === null || result === void 0 || result === false) return [];
@@ -1827,7 +1827,7 @@ function normalizeComponentChildren(result) {
1827
1827
  for (const child of result) children.push(...normalizeComponentChildren(child));
1828
1828
  return children;
1829
1829
  }
1830
- if (isFragmentVNode$1(result)) return normalizeComponentChildren(result.props?.children ?? result.children ?? []);
1830
+ if (isFragmentVNode(result)) return normalizeComponentChildren(result.props?.children ?? result.children ?? []);
1831
1831
  return [result];
1832
1832
  }
1833
1833
  function warnMissingKeys(children) {
@@ -1890,7 +1890,7 @@ function tryGetStaticCreateFastPathShape(props, children) {
1890
1890
  //#endregion
1891
1891
  //#region src/renderer/reactive-child-sources.ts
1892
1892
  function collectReactiveScalarSequenceValue(value, normalized) {
1893
- if (isFragmentVNode$1(value)) return collectReactiveScalarSequenceValue(value.props?.children ?? value.children, normalized);
1893
+ if (isFragmentVNode(value)) return collectReactiveScalarSequenceValue(value.props?.children ?? value.children, normalized);
1894
1894
  if (Array.isArray(value)) {
1895
1895
  for (const child of value) if (!collectReactiveScalarSequenceValue(child, normalized)) return false;
1896
1896
  return true;
@@ -1903,7 +1903,7 @@ function collectReactiveScalarSequenceValue(value, normalized) {
1903
1903
  return false;
1904
1904
  }
1905
1905
  function collectReactiveScalarChildSource(children, slots, state) {
1906
- if (isFragmentVNode$1(children)) return collectReactiveScalarChildSource(children.props?.children ?? children.children, slots, state);
1906
+ if (isFragmentVNode(children)) return collectReactiveScalarChildSource(children.props?.children ?? children.children, slots, state);
1907
1907
  if (Array.isArray(children)) {
1908
1908
  for (const child of children) if (!collectReactiveScalarChildSource(child, slots, state)) return false;
1909
1909
  return true;
@@ -1933,7 +1933,7 @@ function getReactiveScalarChildSource(children) {
1933
1933
  return state.hasDynamic ? slots : null;
1934
1934
  }
1935
1935
  function getSingleReactiveChildBoundarySource(children) {
1936
- if (isFragmentVNode$1(children)) return getSingleReactiveChildBoundarySource(children.props?.children ?? children.children);
1936
+ if (isFragmentVNode(children)) return getSingleReactiveChildBoundarySource(children.props?.children ?? children.children);
1937
1937
  if (Array.isArray(children)) {
1938
1938
  if (children.length !== 1) return null;
1939
1939
  return getSingleReactiveChildBoundarySource(children[0]);
@@ -1942,7 +1942,7 @@ function getSingleReactiveChildBoundarySource(children) {
1942
1942
  return null;
1943
1943
  }
1944
1944
  function collectReactiveChildBoundarySequenceSource(children, slots, state) {
1945
- if (isFragmentVNode$1(children)) return collectReactiveChildBoundarySequenceSource(children.props?.children ?? children.children, slots, state);
1945
+ if (isFragmentVNode(children)) return collectReactiveChildBoundarySequenceSource(children.props?.children ?? children.children, slots, state);
1946
1946
  if (Array.isArray(children)) {
1947
1947
  for (const child of children) if (!collectReactiveChildBoundarySequenceSource(child, slots, state)) return false;
1948
1948
  return true;
@@ -2039,7 +2039,7 @@ function collectReactiveChildValuesAsVNodes(values, children) {
2039
2039
  for (const value of values) collectReactiveChildBoundaryVNodes(value, children);
2040
2040
  }
2041
2041
  function normalizeReactiveChildBoundaryVNode(value) {
2042
- if (!isFragmentVNode$1(value)) return value;
2042
+ if (!isFragmentVNode(value)) return value;
2043
2043
  const children = normalizeComponentChildren(value);
2044
2044
  if (children.length !== 1) return value;
2045
2045
  return normalizeReactiveChildBoundaryVNode(children[0]);
@@ -2047,7 +2047,7 @@ function normalizeReactiveChildBoundaryVNode(value) {
2047
2047
  function isSingleRootReactiveChildBoundaryValue(value) {
2048
2048
  if (value === null || value === void 0 || value === false) return true;
2049
2049
  if (Array.isArray(value)) return value.length === 1 && isSingleRootReactiveChildBoundaryValue(value[0]);
2050
- if (isFragmentVNode$1(value)) {
2050
+ if (isFragmentVNode(value)) {
2051
2051
  const children = normalizeComponentChildren(value);
2052
2052
  return children.length === 1 && isSingleRootReactiveChildBoundaryValue(children[0]);
2053
2053
  }
@@ -2059,7 +2059,7 @@ function collectReactiveChildBoundaryVNodes(value, children) {
2059
2059
  for (const child of value) collectReactiveChildBoundaryVNodes(child, children);
2060
2060
  return;
2061
2061
  }
2062
- if (isFragmentVNode$1(value)) {
2062
+ if (isFragmentVNode(value)) {
2063
2063
  collectReactiveChildBoundaryVNodes(value.props?.children ?? value.children, children);
2064
2064
  return;
2065
2065
  }
@@ -2489,9 +2489,6 @@ function syncReactiveScalarChild(el, children, host) {
2489
2489
  /**
2490
2490
  * Static subtree reuse checks for intrinsic DOM children.
2491
2491
  */
2492
- function isFragmentVNode(node) {
2493
- return _isDOMElement(node) && typeof node.type === "symbol" && (node.type === Fragment || String(node.type) === "Symbol(askr.fragment)");
2494
- }
2495
2492
  function upperCommonTagName(tag) {
2496
2493
  switch (tag) {
2497
2494
  case "div": return "DIV";
@@ -2596,7 +2593,7 @@ function updateElementChildren$1(el, children, forceUpdate = false) {
2596
2593
  el.textContent = "";
2597
2594
  return;
2598
2595
  }
2599
- if (!Array.isArray(children) && isFragmentVNode$1(children)) {
2596
+ if (!Array.isArray(children) && isFragmentVNode(children)) {
2600
2597
  updateUnkeyedChildren(el, normalizeComponentChildren(children), forceUpdate);
2601
2598
  return;
2602
2599
  }
@@ -3890,7 +3887,7 @@ function tryFirstRenderKeyedChildren(target, vnode) {
3890
3887
  return true;
3891
3888
  }
3892
3889
  function isFragment(vnode) {
3893
- return _isDOMElement(vnode) && typeof vnode.type === "symbol" && (vnode.type === Fragment || String(vnode.type) === "Symbol(askr.fragment)");
3890
+ return _isDOMElement(vnode) && isFragmentType(vnode.type);
3894
3891
  }
3895
3892
  function getFragmentChildren(vnode) {
3896
3893
  const fragmentChildren = vnode.props?.children ?? vnode.children ?? [];
@@ -4363,7 +4360,7 @@ function adoptHydratedRange(parent, scope, before, vnode) {
4363
4360
  single: false
4364
4361
  };
4365
4362
  const contentNodes = getRangeNodes(range);
4366
- const expectedChildren = _isDOMElement(vnode) && vnode.type === Fragment ? vnode.props?.children ?? [] : [vnode];
4363
+ const expectedChildren = _isDOMElement(vnode) && isFragmentType(vnode.type) ? vnode.props?.children ?? [] : [vnode];
4367
4364
  if (contentNodes.length !== expectedChildren.length) return null;
4368
4365
  for (let index = 0; index < expectedChildren.length; index += 1) {
4369
4366
  const expected = expectedChildren[index];
@@ -4772,6 +4769,67 @@ function trySyncControlBoundaryChild(parent, currentNode, next) {
4772
4769
  return true;
4773
4770
  }
4774
4771
  //#endregion
4772
+ //#region src/renderer/component-fragment-range.ts
4773
+ function captureRangeFocus(range, parent) {
4774
+ const active = parent.ownerDocument.activeElement;
4775
+ if (typeof HTMLElement === "undefined" || !(active instanceof HTMLElement) || !parent.contains(active)) return () => {};
4776
+ let rangeChild = active;
4777
+ while (rangeChild.parentNode && rangeChild.parentNode !== parent) rangeChild = rangeChild.parentNode;
4778
+ if (rangeChild.parentNode !== parent || !rangeContains(range, rangeChild)) return () => {};
4779
+ const selection = active instanceof HTMLInputElement || active instanceof HTMLTextAreaElement ? {
4780
+ start: active.selectionStart,
4781
+ end: active.selectionEnd,
4782
+ direction: active.selectionDirection
4783
+ } : null;
4784
+ return () => {
4785
+ if (!active.isConnected || active.ownerDocument.activeElement === active) return;
4786
+ try {
4787
+ active.focus({ preventScroll: true });
4788
+ } catch {
4789
+ active.focus();
4790
+ }
4791
+ if (selection && (active instanceof HTMLInputElement || active instanceof HTMLTextAreaElement) && selection.start !== null && selection.end !== null) active.setSelectionRange(selection.start, selection.end, selection.direction ?? void 0);
4792
+ };
4793
+ }
4794
+ function unwrapStagingHost(staging, parent, restoreFocus) {
4795
+ if (staging.parentNode !== parent) return;
4796
+ while (staging.firstChild) parent.insertBefore(staging.firstChild, staging);
4797
+ staging.remove();
4798
+ restoreFocus();
4799
+ }
4800
+ function createAttributeFreeStagingHost(parent) {
4801
+ return parent.ownerDocument.createElementNS(parent.namespaceURI, parent.localName);
4802
+ }
4803
+ function syncComponentFragmentRange(host, instance, result, forceUpdate) {
4804
+ if (!isFragmentVNode(result)) return false;
4805
+ const range = getOwnedRange(instance);
4806
+ const parent = range?.start.parentNode;
4807
+ if (!range || range.single || range.start !== host || !(parent instanceof Element)) return false;
4808
+ const restoreFocus = captureRangeFocus(range, parent);
4809
+ const staging = createAttributeFreeStagingHost(parent);
4810
+ try {
4811
+ parent.insertBefore(staging, range.end);
4812
+ } catch {
4813
+ staging.remove();
4814
+ return false;
4815
+ }
4816
+ if (staging.parentNode !== parent || staging.nextSibling !== range.end) {
4817
+ staging.remove();
4818
+ restoreFocus();
4819
+ return false;
4820
+ }
4821
+ while (range.start.nextSibling && range.start.nextSibling !== staging) staging.appendChild(range.start.nextSibling);
4822
+ const rollbackStaging = registerLifecycleTransaction({}, () => {}, () => unwrapStagingHost(staging, parent, restoreFocus));
4823
+ try {
4824
+ getRendererDOMHost().updateElementChildren(staging, normalizeComponentChildren(result), forceUpdate);
4825
+ } catch (error) {
4826
+ if (!rollbackStaging) unwrapStagingHost(staging, parent, restoreFocus);
4827
+ throw error;
4828
+ }
4829
+ if (!registerLifecycleTransaction({}, () => unwrapStagingHost(staging, parent, restoreFocus), () => {})) unwrapStagingHost(staging, parent, restoreFocus);
4830
+ return true;
4831
+ }
4832
+ //#endregion
4775
4833
  //#region src/renderer/component-host-cleanup.ts
4776
4834
  function cleanupDetachedComponentHost(host, retainedInstance) {
4777
4835
  const retainedInstances = retainedInstance instanceof Object && typeof retainedInstance[Symbol.iterator] === "function" ? new Set(retainedInstance) : /* @__PURE__ */ new Set([retainedInstance]);
@@ -5182,7 +5240,7 @@ function materializeComponentResultNode(childInstance, result, parentNamespace)
5182
5240
  mountInstanceInline(childInstance, null);
5183
5241
  return placeholder;
5184
5242
  }
5185
- if (!_isDOMElement(result) || result.type !== __CONTROL_BOUNDARY__) {
5243
+ if (!_isDOMElement(result) || result.type !== __CONTROL_BOUNDARY__ && !isFragmentVNode(result)) {
5186
5244
  const host = document.createElement("div");
5187
5245
  host.appendChild(dom);
5188
5246
  host.__ASKR_WRAPPER_HOST = true;
@@ -5378,6 +5436,7 @@ function syncComponentElement(currentDom, node, type, props, parentNamespace, fo
5378
5436
  domHost.updateElementChildren(existingHost, normalizeComponentChildren(wrapperResult));
5379
5437
  return existingHost;
5380
5438
  }
5439
+ if (existingHost instanceof Comment && syncComponentFragmentRange(existingHost, existingInstance, scopedResult, forceChildrenUpdate || existingInstance.mounted === false)) return existingHost;
5381
5440
  if (existingHost instanceof Element && scopedResult && typeof scopedResult === "object" && "type" in scopedResult && typeof scopedResult.type === "string" && tagNamesEqualIgnoreCase$1(existingHost.tagName, scopedResult.type)) {
5382
5441
  withContext(snapshot, () => {
5383
5442
  domHost.updateElementFromVnode(existingHost, inheritComponentKey(scopedResult, node), true, forceChildrenUpdate || existingInstance.mounted === false);
@@ -5660,7 +5719,7 @@ function getVNodeChildren(vnode) {
5660
5719
  function getDirectReactiveCompute(value) {
5661
5720
  if (typeof value === "function") return value;
5662
5721
  if (Array.isArray(value)) return value.length === 1 ? getDirectReactiveCompute(value[0]) : null;
5663
- if (typeof value === "object" && value !== null && isFragmentVNode$1(value)) return getDirectReactiveCompute(getVNodeChildren(value));
5722
+ if (typeof value === "object" && value !== null && isFragmentVNode(value)) return getDirectReactiveCompute(getVNodeChildren(value));
5664
5723
  return null;
5665
5724
  }
5666
5725
  const ownerBlueprints = /* @__PURE__ */ new WeakMap();
@@ -5715,7 +5774,7 @@ function collectReactiveSlotShapes(value, slots) {
5715
5774
  });
5716
5775
  return true;
5717
5776
  }
5718
- if (typeof value === "object" && value !== null && isFragmentVNode$1(value)) return collectReactiveSlotShapes(getVNodeChildren(value), slots);
5777
+ if (typeof value === "object" && value !== null && isFragmentVNode(value)) return collectReactiveSlotShapes(getVNodeChildren(value), slots);
5719
5778
  return false;
5720
5779
  }
5721
5780
  function collectStaticVNodeChildren(value, children) {
@@ -5733,7 +5792,7 @@ function collectStaticVNodeChildren(value, children) {
5733
5792
  children.push(value);
5734
5793
  return true;
5735
5794
  }
5736
- if (typeof value.type === "symbol" && isFragmentVNode$1(value)) return collectStaticVNodeChildren(getVNodeChildren(value), children);
5795
+ if (typeof value.type === "symbol" && isFragmentVNode(value)) return collectStaticVNodeChildren(getVNodeChildren(value), children);
5737
5796
  }
5738
5797
  return false;
5739
5798
  }
@@ -5845,7 +5904,7 @@ function matchReactiveSlots(value, slots, startIndex) {
5845
5904
  if (!slot) return -1;
5846
5905
  if (typeof value === "function") return slot.kind === "dynamic" ? startIndex + 1 : -1;
5847
5906
  if (typeof value === "string" || typeof value === "number") return slot.kind === "static" && slot.value === String(value) ? startIndex + 1 : -1;
5848
- if (typeof value === "object" && value !== null && isFragmentVNode$1(value)) return matchReactiveSlots(getVNodeChildren(value), slots, startIndex);
5907
+ if (typeof value === "object" && value !== null && isFragmentVNode(value)) return matchReactiveSlots(getVNodeChildren(value), slots, startIndex);
5849
5908
  return -1;
5850
5909
  }
5851
5910
  //#endregion
@@ -6044,7 +6103,7 @@ function prepareStaticSlots(element, value, slots, startIndex, bindings, deferre
6044
6103
  const childNode = element.childNodes[startIndex];
6045
6104
  if (typeof value === "string" || typeof value === "number") return slot?.kind === "text" && slot.value === String(value) ? startIndex + 1 : -1;
6046
6105
  if (!_isDOMElement(value)) return -1;
6047
- if (typeof value.type === "symbol") return isFragmentVNode$1(value) ? prepareStaticSlots(element, getVNodeChildren(value), slots, startIndex, bindings, deferred) : -1;
6106
+ if (typeof value.type === "symbol") return isFragmentVNode(value) ? prepareStaticSlots(element, getVNodeChildren(value), slots, startIndex, bindings, deferred) : -1;
6048
6107
  if (slot?.kind === "element" && childNode !== void 0) return prepareElementBlueprint(childNode, value, slot.shape, bindings, deferred) ? startIndex + 1 : -1;
6049
6108
  return -1;
6050
6109
  }
@@ -6152,7 +6211,7 @@ function createDOMNode(node, parentNamespace) {
6152
6211
  if (typeof type === "function") return createComponentElement(node, type, props, parentNamespace);
6153
6212
  if (type === __CONTROL_BOUNDARY__) return createForBoundary(node, props, parentNamespace);
6154
6213
  if (type === __ERROR_BOUNDARY__) return createErrorBoundaryElement(node, props, parentNamespace);
6155
- if (typeof type === "symbol" && (type === Fragment || String(type) === "Symbol(Fragment)")) return createFragmentElement(node, props, parentNamespace);
6214
+ if (isFragmentType(type)) return createFragmentElement(node, props, parentNamespace);
6156
6215
  }
6157
6216
  return null;
6158
6217
  }
@@ -6469,6 +6528,7 @@ function replaceComponentRange(instance, result, placeholder) {
6469
6528
  const previousRange = getOwnedRange(instance);
6470
6529
  const parent = placeholder.parentNode;
6471
6530
  if (!previousRange || previousRange.single || previousRange.start !== placeholder || !(parent instanceof Element)) return null;
6531
+ if (syncComponentFragmentRange(placeholder, instance, result, false)) return placeholder;
6472
6532
  const next = createDetachedRange(materializeComponentResultNode(instance, result, getParentNamespace(parent)), instance);
6473
6533
  const nextHost = next.range.start;
6474
6534
  nextHost.__ASKR_INSTANCE = instance;
@@ -1,9 +1,9 @@
1
1
  import { t as enqueueRuntimeLane } from "../access-ePqdQqkV.js";
2
- import { a as registerCommitOperation } from "../component-internal-iJ7HAcpc.js";
2
+ import { a as registerCommitOperation } from "../component-internal-TurioKgs.js";
3
3
  import { f as getCurrentComponentInstance, g as getSignal, i as claimHookIndex } from "../component-scope-DzJEbYGE.js";
4
- import { z as resource } from "../route-matching-Dmb_MKUb.js";
5
- import { a as task, i as routeActive, n as documentVisible, o as timer, r as on, s as windowFocused, t as capture } from "../lifecycle-operations-D2wzCYYh.js";
6
- import { n as onRouteChange } from "../activity-386uXmPJ.js";
4
+ import { z as resource } from "../route-matching-DqM8k4tZ.js";
5
+ import { a as task, i as routeActive, n as documentVisible, o as timer, r as on, s as windowFocused, t as capture } from "../lifecycle-operations-DxwqHvyx.js";
6
+ import { n as onRouteChange } from "../activity-BWQeEtNt.js";
7
7
  //#region src/runtime/stream-operation.ts
8
8
  function toError(value) {
9
9
  return value instanceof Error ? value : new Error(String(value));
@@ -1,10 +1,10 @@
1
1
  import { t as enqueueRuntimeLane, v as logger } from "./access-ePqdQqkV.js";
2
- import { c as registerCommitOperationForInstance, d as getCurrentContextFrame, v as withAsyncResourceContext } from "./component-internal-iJ7HAcpc.js";
2
+ import { c as registerCommitOperationForInstance, d as getCurrentContextFrame, v as withAsyncResourceContext } from "./component-internal-TurioKgs.js";
3
3
  import { f as getCurrentComponentInstance } from "./component-scope-DzJEbYGE.js";
4
4
  import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
5
5
  import { t as brandSnapshotSource } from "./snapshot-source-BB42xgwb.js";
6
6
  import { i as getNextRenderKey, l as throwSSRDataMissing, n as getActiveRenderContext, r as getCurrentRenderData, u as SSRDataMissingError } from "./render-context-Clw3rFiO.js";
7
- import { t as state } from "./state-rjmMPExl.js";
7
+ import { t as state } from "./state-BCl9DeiN.js";
8
8
  //#region src/runtime/resource-cell.ts
9
9
  /**
10
10
  * Pure, component-agnostic ResourceCell state machine.
@@ -157,6 +157,8 @@ type LinkProps = LinkBaseProps & ({
157
157
  * - Use target="_blank" with rel="noopener noreferrer" for external links
158
158
  * - Use aria-current="page" for the current page in navigation
159
159
  * - Provide descriptive link text or aria-label
160
+ * - For a styled link with automatic active-route state, install
161
+ * `@askrjs/themes` and use `NavLink` from `@askrjs/themes/components`
160
162
  *
161
163
  * Uses applyInteractionPolicy to enforce pit-of-success principles:
162
164
  * - Interaction behavior centralized in foundations
@@ -1,9 +1,9 @@
1
- import { a as resolveDeferredValues, b as Outlet, i as isDeferred, l as createRouteRegistry, m as resolveRouteRequest, n as Resolve, r as defer, s as routeData, w as lazy, y as currentAuth } from "../deferred-iBBHEN5Z.js";
1
+ import { a as resolveDeferredValues, b as Outlet, i as isDeferred, l as createRouteRegistry, m as resolveRouteRequest, n as Resolve, r as defer, s as routeData, w as lazy, y as currentAuth } from "../deferred-Dfk7vuTX.js";
2
+ import { a as isSafeHref } from "../csp-nonce-DYspaK0L.js";
2
3
  import { jsx } from "../jsx-runtime.js";
3
- import { a as isSafeHref } from "../csp-nonce-BLkoekFX.js";
4
- import { a as route, i as page, n as group, r as index, t as fallback } from "../authoring-ycOVkX1-.js";
5
- import { n as onRouteChange, t as currentRoute } from "../activity-386uXmPJ.js";
6
- import { a as serializeRouteMeta, c as getCurrentHref, d as parseTargetUrl, h as syncRegisteredRouteSnapshot, i as resolveRouteMeta, l as getRegisteredAppsSnapshot, m as syncAppRegistrationLocation, n as navigate, p as setCurrentRouteLocation, r as reconcileRouteMeta, s as saveScrollPosition, u as getWindowHref } from "../navigate-BwCpLrSM.js";
4
+ import { a as route, i as page, n as group, r as index, t as fallback } from "../authoring-prA293gq.js";
5
+ import { n as onRouteChange, t as currentRoute } from "../activity-BWQeEtNt.js";
6
+ import { a as serializeRouteMeta, c as getCurrentHref, d as parseTargetUrl, h as syncRegisteredRouteSnapshot, i as resolveRouteMeta, l as getRegisteredAppsSnapshot, m as syncAppRegistrationLocation, n as navigate, p as setCurrentRouteLocation, r as reconcileRouteMeta, s as saveScrollPosition, u as getWindowHref } from "../navigate-CwddZjwU.js";
7
7
  import { o as mergeProps } from "../compose-ref-Cc_YkUpM.js";
8
8
  import { t as applyInteractionPolicy } from "../interactions-w7gQN4ha.js";
9
9
  //#region src/router/route-query.ts
@@ -158,6 +158,8 @@ function isSameOriginNavigableHref(href) {
158
158
  * - Use target="_blank" with rel="noopener noreferrer" for external links
159
159
  * - Use aria-current="page" for the current page in navigation
160
160
  * - Provide descriptive link text or aria-label
161
+ * - For a styled link with automatic active-route state, install
162
+ * `@askrjs/themes` and use `NavLink` from `@askrjs/themes/components`
161
163
  *
162
164
  * Uses applyInteractionPolicy to enforce pit-of-success principles:
163
165
  * - Interaction behavior centralized in foundations
package/dist/ssg/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import "../access-ePqdQqkV.js";
2
- import { C as _preloadRouteHandler, S as getRenderHandler, a as resolveDeferredValues, l as createRouteRegistry, u as bindResolvedRouteData } from "../deferred-iBBHEN5Z.js";
3
- import { a as route } from "../authoring-ycOVkX1-.js";
2
+ import { C as _preloadRouteHandler, S as getRenderHandler, a as resolveDeferredValues, l as createRouteRegistry, u as bindResolvedRouteData } from "../deferred-Dfk7vuTX.js";
3
+ import { a as route } from "../authoring-prA293gq.js";
4
4
  import { n as renderDocument } from "../ssr-CbQO5xd3.js";
5
- import { n as renderToString } from "../ssr-CtumC_es.js";
5
+ import { n as renderToString } from "../ssr-Cv5qWPxz.js";
6
6
  import * as fs from "node:fs/promises";
7
7
  import * as pathModule from "node:path";
8
8
  import * as os from "node:os";
package/dist/ssr/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { u as SSRDataMissingError } from "../render-context-Clw3rFiO.js";
2
- import { a as renderResolvedToStringSync, c as createRenderContext, d as withRenderContextAsync, i as renderRouteRequestToString, l as getRenderContext, n as renderToString, o as renderToStringSync, r as renderRouteRequest, s as resolveRequest, t as renderToStream, u as withRenderContext } from "../ssr-CtumC_es.js";
2
+ import { a as renderResolvedToStringSync, c as createRenderContext, d as withRenderContextAsync, i as renderRouteRequestToString, l as getRenderContext, n as renderToString, o as renderToStringSync, r as renderRouteRequest, s as resolveRequest, t as renderToStream, u as withRenderContext } from "../ssr-Cv5qWPxz.js";
3
3
  export { SSRDataMissingError, createRenderContext, getRenderContext, renderResolvedToStringSync, renderRouteRequest, renderRouteRequestToString, renderToStream, renderToString, renderToStringSync, resolveRequest, withRenderContext, withRenderContextAsync };
@@ -1,21 +1,21 @@
1
1
  import { t as __CONTROL_BOUNDARY__ } from "./control-DhFRTIoE.js";
2
2
  import { t as __ERROR_BOUNDARY__ } from "./vnode-D24p6IW2.js";
3
3
  import { v as logger } from "./access-ePqdQqkV.js";
4
- import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
5
- import { f as getExecutionContextFrame, h as markVNodeTreeWithContextFrame, l as callWithContext, n as createComponentInstance, p as getVNodeContextFrame } from "./component-internal-iJ7HAcpc.js";
4
+ import { i as isFragmentType, n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
5
+ import { f as getExecutionContextFrame, h as markVNodeTreeWithContextFrame, l as callWithContext, n as createComponentInstance, p as getVNodeContextFrame } from "./component-internal-TurioKgs.js";
6
6
  import { f as getCurrentComponentInstance, w as setCurrentComponentInstance } from "./component-scope-DzJEbYGE.js";
7
7
  import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
8
8
  import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
9
- import { _ as setControlBoundaryContextFrame, g as evaluateShowState, h as evaluateCaseState, i as evaluateForState, o as rollbackForStateTransaction, r as commitForStateTransaction } from "./for-internal-tNicxJY3.js";
10
- import { _ as isPageRenderEnvelope, g as isEmptyPageRenderEnvelope, h as createPageRenderEnvelope, i as isDeferred, l as createRouteRegistry, m as resolveRouteRequest, t as DEFERRED_BOUNDARY } from "./deferred-iBBHEN5Z.js";
9
+ import { _ as setControlBoundaryContextFrame, g as evaluateShowState, h as evaluateCaseState, i as evaluateForState, o as rollbackForStateTransaction, r as commitForStateTransaction } from "./for-internal-BM8KbadU.js";
10
+ import { _ as isPageRenderEnvelope, g as isEmptyPageRenderEnvelope, h as createPageRenderEnvelope, i as isDeferred, l as createRouteRegistry, m as resolveRouteRequest, t as DEFERRED_BOUNDARY } from "./deferred-Dfk7vuTX.js";
11
11
  import { c as stopRenderPhase$1, o as startRenderPhase$1, t as configureRenderContextProvider, u as SSRDataMissingError } from "./render-context-Clw3rFiO.js";
12
- import { a as resolveRouteFromRoutes, t as _resolveRouteMatchFromRoutes } from "./route-matching-Dmb_MKUb.js";
13
- import { a as disposeDefaultPortalScope, o as SSR_PORTAL_HOST, t as DefaultPortal } from "./portal-EKmTCMKp.js";
12
+ import { a as resolveRouteFromRoutes, t as _resolveRouteMatchFromRoutes } from "./route-matching-DqM8k4tZ.js";
13
+ import { a as disposeDefaultPortalScope, o as SSR_PORTAL_HOST, t as DefaultPortal } from "./portal-BsSJusvs.js";
14
14
  import { n as getPublicAttributeName, t as sanitizeCssValue } from "./css-BuPaTOfe.js";
15
- import { a as isSafeHref, r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-BLkoekFX.js";
15
+ import { a as isSafeHref, r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-DYspaK0L.js";
16
16
  import { t as createDataRuntime } from "./data-runtime-rpV6-3XW.js";
17
17
  import { c as withTelemetry, i as dehydrateDataRuntime, t as createQueryPrefetchContext } from "./query-registry-Bu_cuMch.js";
18
- import { a as route } from "./authoring-ycOVkX1-.js";
18
+ import { a as route } from "./authoring-prA293gq.js";
19
19
  import { n as renderDocument, t as SSR_RENDER_DATA_ATTR } from "./ssr-CbQO5xd3.js";
20
20
  //#region src/ssr/escape.ts
21
21
  /**
@@ -880,7 +880,7 @@ function isMultiRangeChild(child) {
880
880
  if (Array.isArray(child)) return child.length !== 1;
881
881
  if (!child || typeof child !== "object" || !("type" in child)) return false;
882
882
  const vnode = child;
883
- if (vnode.type !== Fragment) return false;
883
+ if (!isFragmentType(vnode.type)) return false;
884
884
  return (getRenderableChildren(vnode)?.length ?? 0) !== 1;
885
885
  }
886
886
  function renderControlChildrenSync(node, ctx) {
@@ -1026,7 +1026,7 @@ function renderNodeSync(node, ctx) {
1026
1026
  if (typeof type === "function") return renderRenderableSync(inheritRenderableKey(node, executeComponentSync(type, props, ctx, getVNodeContextFrame(node) ?? null)), ctx);
1027
1027
  if (typeof type === "symbol") {
1028
1028
  if (type === SSR_PORTAL_HOST) return String(props?.token ?? "");
1029
- if (type === Fragment) return renderChildrenSync(getRenderableChildren(node), ctx);
1029
+ if (isFragmentType(type)) return renderChildrenSync(getRenderableChildren(node), ctx);
1030
1030
  if (type === __CONTROL_BOUNDARY__) return renderControlChildrenSync(node, ctx);
1031
1031
  if (type === DEFERRED_BOUNDARY) return renderDeferredBoundarySync(node, ctx);
1032
1032
  if (type === __ERROR_BOUNDARY__) {
@@ -1072,7 +1072,7 @@ function renderNodeSyncToSink(node, sink, ctx) {
1072
1072
  else sink.write(token);
1073
1073
  return;
1074
1074
  }
1075
- if (type === Fragment) {
1075
+ if (isFragmentType(type)) {
1076
1076
  renderChildrenSyncToSink(getRenderableChildren(node), sink, ctx);
1077
1077
  return;
1078
1078
  }
@@ -1,5 +1,5 @@
1
1
  import { x as isProductionEnvironment } from "./access-ePqdQqkV.js";
2
- import { t as isBulkCommitActive } from "./fastlane-BbexfvHo.js";
2
+ import { t as isBulkCommitActive } from "./fastlane-CkBXZ_3K.js";
3
3
  import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
4
4
  import { i as claimHookIndex, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
5
5
  //#region src/runtime/state.ts
@@ -1,4 +1,4 @@
1
- import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-CUpRxrLH.js";
1
+ import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
2
2
  //#region src/jsx/utils.ts
3
3
  function isElement(value) {
4
4
  return typeof value === "object" && value !== null && value.$$typeof === ELEMENT_TYPE;
@@ -1,7 +1,7 @@
1
1
  import { r as flushRuntimeScheduler } from "../access-ePqdQqkV.js";
2
- import { r as computeRouteActivityMatches } from "../route-matching-Dmb_MKUb.js";
2
+ import { r as computeRouteActivityMatches } from "../route-matching-DqM8k4tZ.js";
3
3
  import { l as addInvalidationListener } from "../data-runtime-rpV6-3XW.js";
4
- import { a as cleanupApp, r as createSPA, t as createIsland } from "../boot-eaBrci4W.js";
4
+ import { a as cleanupApp, r as createSPA, t as createIsland } from "../boot-Cc5axhVo.js";
5
5
  //#region src/testing/render.ts
6
6
  const renderStates = /* @__PURE__ */ new WeakMap();
7
7
  const eventConstructorNames = {
@@ -1,5 +1,5 @@
1
1
  import { t as SSR_RENDER_DATA_ATTR } from "./ssr-CbQO5xd3.js";
2
- import { a as renderResolvedToStringSync } from "./ssr-CtumC_es.js";
2
+ import { a as renderResolvedToStringSync } from "./ssr-Cv5qWPxz.js";
3
3
  //#region src/ssr/verify-hydration.ts
4
4
  function normalizeHydrationHtml(html) {
5
5
  const template = document.createElement("template");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askrjs/askr",
3
- "version": "0.0.75",
3
+ "version": "0.0.77",
4
4
  "description": "Actor-backed deterministic UI framework",
5
5
  "keywords": [
6
6
  "askr",
@@ -1,6 +0,0 @@
1
- //#region src/common/jsx.ts
2
- const ELEMENT_TYPE = Symbol.for("askr.element");
3
- const Fragment = Symbol.for("askr.fragment");
4
- const STATIC_CHILDREN = Symbol.for("askr.static-children");
5
- //#endregion
6
- export { Fragment as n, STATIC_CHILDREN as r, ELEMENT_TYPE as t };