@pibbl/core 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +19 -0
- package/README.md +76 -0
- package/THIRD_PARTY_NOTICES.txt +205 -0
- package/dist/features/particles/index.d.ts +7 -0
- package/dist/features/particles/index.js +26 -0
- package/dist/features/particles/index.js.map +7 -0
- package/dist/features/particles/index.mjs +1 -0
- package/dist/features/particles/lib/canvas/birth-ledger.d.ts +69 -0
- package/dist/features/particles/lib/canvas/birth-ledger.js +752 -0
- package/dist/features/particles/lib/canvas/birth-ledger.js.map +7 -0
- package/dist/features/particles/lib/canvas/component.d.ts +14 -0
- package/dist/features/particles/lib/canvas/component.js +249 -0
- package/dist/features/particles/lib/canvas/component.js.map +7 -0
- package/dist/features/particles/lib/canvas/executor.d.ts +31 -0
- package/dist/features/particles/lib/canvas/executor.js +537 -0
- package/dist/features/particles/lib/canvas/executor.js.map +7 -0
- package/dist/features/particles/lib/canvas/primitive.d.ts +14 -0
- package/dist/features/particles/lib/canvas/primitive.js +50 -0
- package/dist/features/particles/lib/canvas/primitive.js.map +7 -0
- package/dist/features/particles/lib/canvas/raster-cache.d.ts +13 -0
- package/dist/features/particles/lib/canvas/raster-cache.js +106 -0
- package/dist/features/particles/lib/canvas/raster-cache.js.map +7 -0
- package/dist/features/particles/lib/color.d.ts +7 -0
- package/dist/features/particles/lib/color.js +159 -0
- package/dist/features/particles/lib/color.js.map +7 -0
- package/dist/features/particles/lib/compiler.d.ts +134 -0
- package/dist/features/particles/lib/compiler.js +443 -0
- package/dist/features/particles/lib/compiler.js.map +7 -0
- package/dist/features/particles/lib/curve.d.ts +19 -0
- package/dist/features/particles/lib/curve.js +129 -0
- package/dist/features/particles/lib/curve.js.map +7 -0
- package/dist/features/particles/lib/definition-records.d.ts +58 -0
- package/dist/features/particles/lib/definition-records.js +500 -0
- package/dist/features/particles/lib/definition-records.js.map +7 -0
- package/dist/features/particles/lib/definition.d.ts +18 -0
- package/dist/features/particles/lib/definition.js +602 -0
- package/dist/features/particles/lib/definition.js.map +7 -0
- package/dist/features/particles/lib/emission.d.ts +54 -0
- package/dist/features/particles/lib/emission.js +184 -0
- package/dist/features/particles/lib/emission.js.map +7 -0
- package/dist/features/particles/lib/flow/field.d.ts +81 -0
- package/dist/features/particles/lib/flow/field.js +585 -0
- package/dist/features/particles/lib/flow/field.js.map +7 -0
- package/dist/features/particles/lib/flow/hook.d.ts +158 -0
- package/dist/features/particles/lib/flow/hook.js +215 -0
- package/dist/features/particles/lib/flow/hook.js.map +7 -0
- package/dist/features/particles/lib/flow/population.d.ts +25 -0
- package/dist/features/particles/lib/flow/population.js +104 -0
- package/dist/features/particles/lib/flow/population.js.map +7 -0
- package/dist/features/particles/lib/particle.d.ts +113 -0
- package/dist/features/particles/lib/particle.js +192 -0
- package/dist/features/particles/lib/particle.js.map +7 -0
- package/dist/features/particles/lib/random.d.ts +16 -0
- package/dist/features/particles/lib/random.js +61 -0
- package/dist/features/particles/lib/random.js.map +7 -0
- package/dist/features/particles/lib/sample.d.ts +32 -0
- package/dist/features/particles/lib/sample.js +397 -0
- package/dist/features/particles/lib/sample.js.map +7 -0
- package/dist/features/particles/lib/signal-inputs.d.ts +6 -0
- package/dist/features/particles/lib/signal-inputs.js +41 -0
- package/dist/features/particles/lib/signal-inputs.js.map +7 -0
- package/dist/features/particles/lib/system/binding.d.ts +59 -0
- package/dist/features/particles/lib/system/binding.js +122 -0
- package/dist/features/particles/lib/system/binding.js.map +7 -0
- package/dist/features/particles/lib/system/controller.d.ts +58 -0
- package/dist/features/particles/lib/system/controller.js +1446 -0
- package/dist/features/particles/lib/system/controller.js.map +7 -0
- package/dist/features/particles/lib/system/hook.d.ts +13 -0
- package/dist/features/particles/lib/system/hook.js +52 -0
- package/dist/features/particles/lib/system/hook.js.map +7 -0
- package/dist/features/particles/lib/system/ownership.d.ts +26 -0
- package/dist/features/particles/lib/system/ownership.js +128 -0
- package/dist/features/particles/lib/system/ownership.js.map +7 -0
- package/dist/features/particles/lib/types.d.ts +983 -0
- package/dist/features/physics/2d-geometry.d.ts +216 -0
- package/dist/features/physics/2d-geometry.js +59 -0
- package/dist/features/physics/2d-geometry.js.map +7 -0
- package/dist/features/physics/2d-geometry.mjs +1 -0
- package/dist/features/physics/2d-testing.d.ts +80 -0
- package/dist/features/physics/2d-testing.js +141 -0
- package/dist/features/physics/2d-testing.js.map +7 -0
- package/dist/features/physics/2d-testing.mjs +1 -0
- package/dist/features/physics/2d.d.ts +165 -0
- package/dist/features/physics/2d.js +119 -0
- package/dist/features/physics/2d.js.map +7 -0
- package/dist/features/physics/2d.mjs +1 -0
- package/dist/features/physics/lib/2d/canvas/components.d.ts +46 -0
- package/dist/features/physics/lib/2d/canvas/components.js +212 -0
- package/dist/features/physics/lib/2d/canvas/components.js.map +7 -0
- package/dist/features/physics/lib/2d/canvas/custom.d.ts +24 -0
- package/dist/features/physics/lib/2d/canvas/custom.js +45 -0
- package/dist/features/physics/lib/2d/canvas/custom.js.map +7 -0
- package/dist/features/physics/lib/2d/canvas/debug.d.ts +23 -0
- package/dist/features/physics/lib/2d/canvas/debug.js +53 -0
- package/dist/features/physics/lib/2d/canvas/debug.js.map +7 -0
- package/dist/features/physics/lib/2d/canvas/inference.d.ts +9 -0
- package/dist/features/physics/lib/2d/canvas/inference.js +704 -0
- package/dist/features/physics/lib/2d/canvas/inference.js.map +7 -0
- package/dist/features/physics/lib/2d/canvas/presentation.d.ts +11 -0
- package/dist/features/physics/lib/2d/canvas/presentation.js +169 -0
- package/dist/features/physics/lib/2d/canvas/presentation.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/analytic.d.ts +15 -0
- package/dist/features/physics/lib/2d/collision/analytic.js +151 -0
- package/dist/features/physics/lib/2d/collision/analytic.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/casts.d.ts +37 -0
- package/dist/features/physics/lib/2d/collision/casts.js +631 -0
- package/dist/features/physics/lib/2d/collision/casts.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/epa.d.ts +21 -0
- package/dist/features/physics/lib/2d/collision/epa.js +102 -0
- package/dist/features/physics/lib/2d/collision/epa.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/gjk.d.ts +28 -0
- package/dist/features/physics/lib/2d/collision/gjk.js +233 -0
- package/dist/features/physics/lib/2d/collision/gjk.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/manifold.d.ts +35 -0
- package/dist/features/physics/lib/2d/collision/manifold.js +238 -0
- package/dist/features/physics/lib/2d/collision/manifold.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/pairs.d.ts +10 -0
- package/dist/features/physics/lib/2d/collision/pairs.js +285 -0
- package/dist/features/physics/lib/2d/collision/pairs.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/support.d.ts +20 -0
- package/dist/features/physics/lib/2d/collision/support.js +155 -0
- package/dist/features/physics/lib/2d/collision/support.js.map +7 -0
- package/dist/features/physics/lib/2d/inspection-types.d.ts +159 -0
- package/dist/features/physics/lib/2d/math.d.ts +27 -0
- package/dist/features/physics/lib/2d/math.js +314 -0
- package/dist/features/physics/lib/2d/math.js.map +7 -0
- package/dist/features/physics/lib/2d/numeric-policy.d.ts +24 -0
- package/dist/features/physics/lib/2d/numeric-policy.js +51 -0
- package/dist/features/physics/lib/2d/numeric-policy.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/body-handle.d.ts +148 -0
- package/dist/features/physics/lib/2d/runtime/body-handle.js +305 -0
- package/dist/features/physics/lib/2d/runtime/body-handle.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/context.d.ts +9 -0
- package/dist/features/physics/lib/2d/runtime/context.js +57 -0
- package/dist/features/physics/lib/2d/runtime/context.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/controller.d.ts +106 -0
- package/dist/features/physics/lib/2d/runtime/controller.js +1317 -0
- package/dist/features/physics/lib/2d/runtime/controller.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/descriptors.d.ts +153 -0
- package/dist/features/physics/lib/2d/runtime/descriptors.js +526 -0
- package/dist/features/physics/lib/2d/runtime/descriptors.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/events.d.ts +56 -0
- package/dist/features/physics/lib/2d/runtime/events.js +153 -0
- package/dist/features/physics/lib/2d/runtime/events.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/obstacles.d.ts +22 -0
- package/dist/features/physics/lib/2d/runtime/obstacles.js +192 -0
- package/dist/features/physics/lib/2d/runtime/obstacles.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/ownership.d.ts +41 -0
- package/dist/features/physics/lib/2d/runtime/ownership.js +46 -0
- package/dist/features/physics/lib/2d/runtime/ownership.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/trace.d.ts +32 -0
- package/dist/features/physics/lib/2d/runtime/trace.js +22 -0
- package/dist/features/physics/lib/2d/runtime/trace.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/world-component.d.ts +18 -0
- package/dist/features/physics/lib/2d/runtime/world-component.js +41 -0
- package/dist/features/physics/lib/2d/runtime/world-component.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/world-props.d.ts +16 -0
- package/dist/features/physics/lib/2d/shape-records.d.ts +60 -0
- package/dist/features/physics/lib/2d/shape-records.js +26 -0
- package/dist/features/physics/lib/2d/shape-records.js.map +7 -0
- package/dist/features/physics/lib/2d/shapes.d.ts +191 -0
- package/dist/features/physics/lib/2d/shapes.js +543 -0
- package/dist/features/physics/lib/2d/shapes.js.map +7 -0
- package/dist/features/physics/lib/2d/types.d.ts +713 -0
- package/dist/features/physics/lib/2d/types.js +1 -0
- package/dist/features/physics/lib/2d/types.js.map +7 -0
- package/dist/features/physics/lib/2d/world/broad-phase.d.ts +77 -0
- package/dist/features/physics/lib/2d/world/broad-phase.js +762 -0
- package/dist/features/physics/lib/2d/world/broad-phase.js.map +7 -0
- package/dist/features/physics/lib/2d/world/ccd.d.ts +19 -0
- package/dist/features/physics/lib/2d/world/ccd.js +265 -0
- package/dist/features/physics/lib/2d/world/ccd.js.map +7 -0
- package/dist/features/physics/lib/2d/world/contact-cache.d.ts +81 -0
- package/dist/features/physics/lib/2d/world/contact-cache.js +497 -0
- package/dist/features/physics/lib/2d/world/contact-cache.js.map +7 -0
- package/dist/features/physics/lib/2d/world/integrator.d.ts +11 -0
- package/dist/features/physics/lib/2d/world/integrator.js +99 -0
- package/dist/features/physics/lib/2d/world/integrator.js.map +7 -0
- package/dist/features/physics/lib/2d/world/queries.d.ts +62 -0
- package/dist/features/physics/lib/2d/world/queries.js +424 -0
- package/dist/features/physics/lib/2d/world/queries.js.map +7 -0
- package/dist/features/physics/lib/2d/world/rapier-engine.js +7054 -0
- package/dist/features/physics/lib/2d/world/rapier-engine.js.map +7 -0
- package/dist/features/physics/lib/2d/world/rapier.d.ts +50 -0
- package/dist/features/physics/lib/2d/world/rapier.js +655 -0
- package/dist/features/physics/lib/2d/world/rapier.js.map +7 -0
- package/dist/features/physics/lib/2d/world/solver.d.ts +58 -0
- package/dist/features/physics/lib/2d/world/solver.js +660 -0
- package/dist/features/physics/lib/2d/world/solver.js.map +7 -0
- package/dist/features/physics/lib/2d/world/storage.d.ts +96 -0
- package/dist/features/physics/lib/2d/world/storage.js +371 -0
- package/dist/features/physics/lib/2d/world/storage.js.map +7 -0
- package/dist/features/physics/lib/2d/world/world.d.ts +265 -0
- package/dist/features/physics/lib/2d/world/world.js +1713 -0
- package/dist/features/physics/lib/2d/world/world.js.map +7 -0
- package/dist/features/physics/lib/shared/signal-inputs.d.ts +5 -0
- package/dist/features/physics/lib/shared/signal-inputs.js +20 -0
- package/dist/features/physics/lib/shared/signal-inputs.js.map +7 -0
- package/dist/features/physics/lib/shared/validation.d.ts +5 -0
- package/dist/features/physics/lib/shared/validation.js +48 -0
- package/dist/features/physics/lib/shared/validation.js.map +7 -0
- package/dist/features/sprites/formats/aseprite.js +23 -0
- package/dist/features/sprites/formats/aseprite.js.map +7 -0
- package/dist/features/sprites/formats/aseprite.mjs +1 -0
- package/dist/features/sprites/formats/texture-packer.js +14 -0
- package/dist/features/sprites/formats/texture-packer.js.map +7 -0
- package/dist/features/sprites/formats/texture-packer.mjs +1 -0
- package/dist/features/sprites/index.js +9 -0
- package/dist/features/sprites/index.js.map +7 -0
- package/dist/features/sprites/index.mjs +1 -0
- package/dist/features/sprites/loader.js +63 -0
- package/dist/features/sprites/loader.js.map +7 -0
- package/dist/features/sprites/model.js +64 -0
- package/dist/features/sprites/model.js.map +7 -0
- package/dist/features/sprites/sprite.js +31 -0
- package/dist/features/sprites/sprite.js.map +7 -0
- package/dist/features/textures/index.d.ts +22 -0
- package/dist/features/textures/index.js +31 -0
- package/dist/features/textures/index.js.map +7 -0
- package/dist/features/textures/index.mjs +1 -0
- package/dist/features/textures/lib/definitions.d.ts +117 -0
- package/dist/features/textures/lib/definitions.js +179 -0
- package/dist/features/textures/lib/definitions.js.map +7 -0
- package/dist/features/textures/lib/electric-boundary.d.ts +3 -0
- package/dist/features/textures/lib/electric-boundary.js +11 -0
- package/dist/features/textures/lib/electric-boundary.js.map +7 -0
- package/dist/features/textures/lib/electric-shared.d.ts +69 -0
- package/dist/features/textures/lib/electric-shared.js +43 -0
- package/dist/features/textures/lib/electric-shared.js.map +7 -0
- package/dist/features/textures/lib/electric-sources.d.ts +50 -0
- package/dist/features/textures/lib/electric-sources.js +43 -0
- package/dist/features/textures/lib/electric-sources.js.map +7 -0
- package/dist/features/textures/lib/lightning.d.ts +72 -0
- package/dist/features/textures/lib/lightning.js +139 -0
- package/dist/features/textures/lib/lightning.js.map +7 -0
- package/dist/features/textures/lib/material-field.d.ts +12 -0
- package/dist/features/textures/lib/material-field.js +31 -0
- package/dist/features/textures/lib/material-field.js.map +7 -0
- package/dist/features/textures/lib/palette.d.ts +45 -0
- package/dist/features/textures/lib/palette.js +52 -0
- package/dist/features/textures/lib/palette.js.map +7 -0
- package/dist/features/textures/lib/presentation.d.ts +54 -0
- package/dist/features/textures/lib/presentation.js +83 -0
- package/dist/features/textures/lib/presentation.js.map +7 -0
- package/dist/features/textures/lib/procedural-texture.d.ts +44 -0
- package/dist/features/textures/lib/procedural-texture.js +110 -0
- package/dist/features/textures/lib/procedural-texture.js.map +7 -0
- package/dist/features/textures/lib/rain-drops.d.ts +96 -0
- package/dist/features/textures/lib/rain-drops.js +322 -0
- package/dist/features/textures/lib/rain-drops.js.map +7 -0
- package/dist/features/textures/lib/reaction-diffusion.d.ts +67 -0
- package/dist/features/textures/lib/reaction-diffusion.js +210 -0
- package/dist/features/textures/lib/reaction-diffusion.js.map +7 -0
- package/dist/features/textures/lib/simulation.d.ts +16 -0
- package/dist/features/textures/lib/simulation.js +85 -0
- package/dist/features/textures/lib/simulation.js.map +7 -0
- package/dist/features/textures/lib/tendrils.d.ts +57 -0
- package/dist/features/textures/lib/tendrils.js +216 -0
- package/dist/features/textures/lib/tendrils.js.map +7 -0
- package/dist/features/textures/lib/wasm/cellular-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/cellular-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/cellular-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/electric.d.ts +88 -0
- package/dist/features/textures/lib/wasm/electric.js +299 -0
- package/dist/features/textures/lib/wasm/electric.js.map +7 -0
- package/dist/features/textures/lib/wasm/ink-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/ink-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/ink-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/lightning-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/lightning-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/lightning-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/marble-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/marble-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/marble-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/memory.d.ts +31 -0
- package/dist/features/textures/lib/wasm/memory.js +103 -0
- package/dist/features/textures/lib/wasm/memory.js.map +7 -0
- package/dist/features/textures/lib/wasm/paper-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/paper-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/paper-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/tendrils-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/tendrils-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/tendrils-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/water-surface-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/water-surface-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/water-surface-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/water-waves-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/water-waves-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/water-waves-bytes.js.map +7 -0
- package/dist/features/textures/lib/water-surface.d.ts +92 -0
- package/dist/features/textures/lib/water-surface.js +378 -0
- package/dist/features/textures/lib/water-surface.js.map +7 -0
- package/dist/features/textures/lib/water-waves.d.ts +60 -0
- package/dist/features/textures/lib/water-waves.js +154 -0
- package/dist/features/textures/lib/water-waves.js.map +7 -0
- package/dist/features/viz/index.d.ts +28 -0
- package/dist/features/viz/index.js +45 -0
- package/dist/features/viz/index.js.map +7 -0
- package/dist/features/viz/index.mjs +1 -0
- package/dist/features/viz/lib/anchored-layout.d.ts +104 -0
- package/dist/features/viz/lib/anchored-layout.js +166 -0
- package/dist/features/viz/lib/anchored-layout.js.map +7 -0
- package/dist/features/viz/lib/axis.d.ts +10 -0
- package/dist/features/viz/lib/axis.js +116 -0
- package/dist/features/viz/lib/axis.js.map +7 -0
- package/dist/features/viz/lib/band-scale.d.ts +3 -0
- package/dist/features/viz/lib/band-scale.js +57 -0
- package/dist/features/viz/lib/band-scale.js.map +7 -0
- package/dist/features/viz/lib/bar-fill.d.ts +16 -0
- package/dist/features/viz/lib/bar-fill.js +53 -0
- package/dist/features/viz/lib/bar-fill.js.map +7 -0
- package/dist/features/viz/lib/bar-series.d.ts +150 -0
- package/dist/features/viz/lib/bar-series.js +152 -0
- package/dist/features/viz/lib/bar-series.js.map +7 -0
- package/dist/features/viz/lib/hover-card.d.ts +92 -0
- package/dist/features/viz/lib/hover-card.js +146 -0
- package/dist/features/viz/lib/hover-card.js.map +7 -0
- package/dist/features/viz/lib/hover-data.d.ts +12 -0
- package/dist/features/viz/lib/hover-data.js +50 -0
- package/dist/features/viz/lib/hover-data.js.map +7 -0
- package/dist/features/viz/lib/hover-placement.d.ts +46 -0
- package/dist/features/viz/lib/hover-placement.js +51 -0
- package/dist/features/viz/lib/hover-placement.js.map +7 -0
- package/dist/features/viz/lib/hover-queries.d.ts +60 -0
- package/dist/features/viz/lib/hover-queries.js +185 -0
- package/dist/features/viz/lib/hover-queries.js.map +7 -0
- package/dist/features/viz/lib/hover-types.d.ts +277 -0
- package/dist/features/viz/lib/layout-pie.d.ts +13 -0
- package/dist/features/viz/lib/layout-pie.js +159 -0
- package/dist/features/viz/lib/layout-pie.js.map +7 -0
- package/dist/features/viz/lib/line-series.d.ts +11 -0
- package/dist/features/viz/lib/line-series.js +89 -0
- package/dist/features/viz/lib/line-series.js.map +7 -0
- package/dist/features/viz/lib/linear-scale.d.ts +3 -0
- package/dist/features/viz/lib/linear-scale.js +70 -0
- package/dist/features/viz/lib/linear-scale.js.map +7 -0
- package/dist/features/viz/lib/nearest.d.ts +82 -0
- package/dist/features/viz/lib/nearest.js +51 -0
- package/dist/features/viz/lib/nearest.js.map +7 -0
- package/dist/features/viz/lib/paint.d.ts +2 -0
- package/dist/features/viz/lib/paint.js +17 -0
- package/dist/features/viz/lib/paint.js.map +7 -0
- package/dist/features/viz/lib/pie-layout.d.ts +31 -0
- package/dist/features/viz/lib/pie-layout.js +324 -0
- package/dist/features/viz/lib/pie-layout.js.map +7 -0
- package/dist/features/viz/lib/pie-slices.d.ts +51 -0
- package/dist/features/viz/lib/pie-slices.js +50 -0
- package/dist/features/viz/lib/pie-slices.js.map +7 -0
- package/dist/features/viz/lib/pie-types.d.ts +215 -0
- package/dist/features/viz/lib/plot-series.d.ts +13 -0
- package/dist/features/viz/lib/plot-series.js +53 -0
- package/dist/features/viz/lib/plot-series.js.map +7 -0
- package/dist/features/viz/lib/plot-types.d.ts +63 -0
- package/dist/features/viz/lib/point-data.d.ts +5 -0
- package/dist/features/viz/lib/point-data.js +17 -0
- package/dist/features/viz/lib/point-data.js.map +7 -0
- package/dist/features/viz/lib/point-geometry.d.ts +2 -0
- package/dist/features/viz/lib/point-geometry.js +24 -0
- package/dist/features/viz/lib/point-geometry.js.map +7 -0
- package/dist/features/viz/lib/point-series.d.ts +11 -0
- package/dist/features/viz/lib/point-series.js +118 -0
- package/dist/features/viz/lib/point-series.js.map +7 -0
- package/dist/features/viz/lib/point-types.d.ts +94 -0
- package/dist/features/viz/lib/scale-adjust.d.ts +11 -0
- package/dist/features/viz/lib/scale-adjust.js +25 -0
- package/dist/features/viz/lib/scale-adjust.js.map +7 -0
- package/dist/features/viz/lib/scale-context.d.ts +8 -0
- package/dist/features/viz/lib/scale-context.js +61 -0
- package/dist/features/viz/lib/scale-context.js.map +7 -0
- package/dist/features/viz/lib/scale.d.ts +11 -0
- package/dist/features/viz/lib/scale.js +80 -0
- package/dist/features/viz/lib/scale.js.map +7 -0
- package/dist/features/viz/lib/types.d.ts +414 -0
- package/dist/features/viz/lib/use-scale.d.ts +20 -0
- package/dist/features/viz/lib/use-scale.js +10 -0
- package/dist/features/viz/lib/use-scale.js.map +7 -0
- package/dist/filters/displacement-gpu.d.ts +38 -0
- package/dist/filters/displacement-gpu.js +243 -0
- package/dist/filters/displacement-gpu.js.map +7 -0
- package/dist/filters/displacement-math.d.ts +5 -0
- package/dist/filters/displacement-math.js +22 -0
- package/dist/filters/displacement-math.js.map +7 -0
- package/dist/filters/displacement.d.ts +13 -0
- package/dist/filters/displacement.js +65 -0
- package/dist/filters/displacement.js.map +7 -0
- package/dist/filters/filter-executor.d.ts +21 -0
- package/dist/filters/filter-executor.js +120 -0
- package/dist/filters/filter-executor.js.map +7 -0
- package/dist/filters/native-canvas-filter.d.ts +4 -0
- package/dist/filters/native-canvas-filter.js +105 -0
- package/dist/filters/native-canvas-filter.js.map +7 -0
- package/dist/filters/native-color.d.ts +2 -0
- package/dist/filters/native-color.js +200 -0
- package/dist/filters/native-color.js.map +7 -0
- package/dist/filters/native-operations.d.ts +8 -0
- package/dist/filters/native-operations.js +7 -0
- package/dist/filters/native-operations.js.map +7 -0
- package/dist/filters/native.d.ts +113 -0
- package/dist/filters/native.js +115 -0
- package/dist/filters/native.js.map +7 -0
- package/dist/filters/reflected-light.d.ts +12 -0
- package/dist/filters/reflected-light.js +93 -0
- package/dist/filters/reflected-light.js.map +7 -0
- package/dist/filters/reflection-gpu.d.ts +58 -0
- package/dist/filters/reflection-gpu.js +266 -0
- package/dist/filters/reflection-gpu.js.map +7 -0
- package/dist/filters/render-displacement-boundary.d.ts +12 -0
- package/dist/filters/render-displacement-boundary.js +116 -0
- package/dist/filters/render-displacement-boundary.js.map +7 -0
- package/dist/filters/render-reflection-boundary.d.ts +15 -0
- package/dist/filters/render-reflection-boundary.js +127 -0
- package/dist/filters/render-reflection-boundary.js.map +7 -0
- package/dist/filters.d.ts +5 -0
- package/dist/filters.js +29 -0
- package/dist/filters.js.map +7 -0
- package/dist/filters.mjs +1 -0
- package/dist/index.d.ts +111 -0
- package/dist/index.js +300 -0
- package/dist/index.js.map +7 -0
- package/dist/index.mjs +1 -0
- package/dist/internal.d.ts +160 -0
- package/dist/internal.js +320 -0
- package/dist/internal.js.map +7 -0
- package/dist/internal.mjs +1 -0
- package/dist/jsx-dev-runtime.d.ts +35 -0
- package/dist/jsx-dev-runtime.js +6 -0
- package/dist/jsx-dev-runtime.js.map +7 -0
- package/dist/jsx-dev-runtime.mjs +1 -0
- package/dist/jsx-runtime.d.ts +35 -0
- package/dist/jsx-runtime.js +7 -0
- package/dist/jsx-runtime.js.map +7 -0
- package/dist/jsx-runtime.mjs +1 -0
- package/dist/lib/animation/definition.d.ts +140 -0
- package/dist/lib/animation/definition.js +605 -0
- package/dist/lib/animation/definition.js.map +7 -0
- package/dist/lib/animation/easing.d.ts +55 -0
- package/dist/lib/animation/easing.js +112 -0
- package/dist/lib/animation/easing.js.map +7 -0
- package/dist/lib/animation/evaluate.d.ts +118 -0
- package/dist/lib/animation/evaluate.js +2398 -0
- package/dist/lib/animation/evaluate.js.map +7 -0
- package/dist/lib/animation/playback.d.ts +30 -0
- package/dist/lib/animation/playback.js +932 -0
- package/dist/lib/animation/playback.js.map +7 -0
- package/dist/lib/animation/program.d.ts +145 -0
- package/dist/lib/animation/program.js +741 -0
- package/dist/lib/animation/program.js.map +7 -0
- package/dist/lib/animation/spring.d.ts +30 -0
- package/dist/lib/animation/spring.js +324 -0
- package/dist/lib/animation/spring.js.map +7 -0
- package/dist/lib/animation/types.d.ts +418 -0
- package/dist/lib/animation/writer-leases.d.ts +47 -0
- package/dist/lib/animation/writer-leases.js +314 -0
- package/dist/lib/animation/writer-leases.js.map +7 -0
- package/dist/lib/backend/canvas-2d-backend.d.ts +4 -0
- package/dist/lib/backend/canvas-2d-backend.js +97 -0
- package/dist/lib/backend/canvas-2d-backend.js.map +7 -0
- package/dist/lib/backend/types.d.ts +309 -0
- package/dist/lib/backend/types.js +26 -0
- package/dist/lib/backend/types.js.map +7 -0
- package/dist/lib/components/arc-geometry.d.ts +4 -0
- package/dist/lib/components/arc-geometry.js +46 -0
- package/dist/lib/components/arc-geometry.js.map +7 -0
- package/dist/lib/components/arc.d.ts +55 -0
- package/dist/lib/components/arc.js +91 -0
- package/dist/lib/components/arc.js.map +7 -0
- package/dist/lib/components/circle.d.ts +49 -0
- package/dist/lib/components/circle.js +46 -0
- package/dist/lib/components/circle.js.map +7 -0
- package/dist/lib/components/clip.d.ts +43 -0
- package/dist/lib/components/clip.js +24 -0
- package/dist/lib/components/clip.js.map +7 -0
- package/dist/lib/components/ellipse.d.ts +53 -0
- package/dist/lib/components/ellipse.js +59 -0
- package/dist/lib/components/ellipse.js.map +7 -0
- package/dist/lib/components/g.d.ts +56 -0
- package/dist/lib/components/g.js +24 -0
- package/dist/lib/components/g.js.map +7 -0
- package/dist/lib/components/horizontal-line.d.ts +56 -0
- package/dist/lib/components/horizontal-line.js +71 -0
- package/dist/lib/components/horizontal-line.js.map +7 -0
- package/dist/lib/components/html-box.d.ts +16 -0
- package/dist/lib/components/html-box.js +57 -0
- package/dist/lib/components/html-box.js.map +7 -0
- package/dist/lib/components/img.d.ts +24 -0
- package/dist/lib/components/img.js +150 -0
- package/dist/lib/components/img.js.map +7 -0
- package/dist/lib/components/layer-node-equality.d.ts +65 -0
- package/dist/lib/components/layer-node-equality.js +91 -0
- package/dist/lib/components/layer-node-equality.js.map +7 -0
- package/dist/lib/components/layer.d.ts +34 -0
- package/dist/lib/components/layer.js +172 -0
- package/dist/lib/components/layer.js.map +7 -0
- package/dist/lib/components/line.d.ts +51 -0
- package/dist/lib/components/line.js +76 -0
- package/dist/lib/components/line.js.map +7 -0
- package/dist/lib/components/path.d.ts +28 -0
- package/dist/lib/components/path.js +47 -0
- package/dist/lib/components/path.js.map +7 -0
- package/dist/lib/components/polygon.d.ts +45 -0
- package/dist/lib/components/polygon.js +93 -0
- package/dist/lib/components/polygon.js.map +7 -0
- package/dist/lib/components/rect.d.ts +24 -0
- package/dist/lib/components/rect.js +83 -0
- package/dist/lib/components/rect.js.map +7 -0
- package/dist/lib/components/regular-polygon.d.ts +102 -0
- package/dist/lib/components/regular-polygon.js +112 -0
- package/dist/lib/components/regular-polygon.js.map +7 -0
- package/dist/lib/components/rounded-corner-style.d.ts +7 -0
- package/dist/lib/components/rounded-corner-style.js +40 -0
- package/dist/lib/components/rounded-corner-style.js.map +7 -0
- package/dist/lib/components/shape-style.d.ts +7 -0
- package/dist/lib/components/shape-style.js +52 -0
- package/dist/lib/components/shape-style.js.map +7 -0
- package/dist/lib/components/star.d.ts +56 -0
- package/dist/lib/components/star.js +98 -0
- package/dist/lib/components/star.js.map +7 -0
- package/dist/lib/components/structural-events.d.ts +10 -0
- package/dist/lib/components/structural-events.js +8 -0
- package/dist/lib/components/structural-events.js.map +7 -0
- package/dist/lib/components/svg-path.d.ts +23 -0
- package/dist/lib/components/svg-path.js +25 -0
- package/dist/lib/components/svg-path.js.map +7 -0
- package/dist/lib/components/text-layout.d.ts +31 -0
- package/dist/lib/components/text-layout.js +139 -0
- package/dist/lib/components/text-layout.js.map +7 -0
- package/dist/lib/components/text.d.ts +29 -0
- package/dist/lib/components/text.js +174 -0
- package/dist/lib/components/text.js.map +7 -0
- package/dist/lib/components/vertical-line.d.ts +57 -0
- package/dist/lib/components/vertical-line.js +71 -0
- package/dist/lib/components/vertical-line.js.map +7 -0
- package/dist/lib/components/wedge.d.ts +55 -0
- package/dist/lib/components/wedge.js +93 -0
- package/dist/lib/components/wedge.js.map +7 -0
- package/dist/lib/define-primitive.d.ts +82 -0
- package/dist/lib/define-primitive.js +85 -0
- package/dist/lib/define-primitive.js.map +7 -0
- package/dist/lib/development.d.ts +2 -0
- package/dist/lib/development.js +5 -0
- package/dist/lib/development.js.map +7 -0
- package/dist/lib/element/children.d.ts +16 -0
- package/dist/lib/element/children.js +333 -0
- package/dist/lib/element/children.js.map +7 -0
- package/dist/lib/element/create-element.d.ts +34 -0
- package/dist/lib/element/create-element.js +75 -0
- package/dist/lib/element/create-element.js.map +7 -0
- package/dist/lib/element/fragment.d.ts +15 -0
- package/dist/lib/element/fragment.js +11 -0
- package/dist/lib/element/fragment.js.map +7 -0
- package/dist/lib/element/jsx-runtime.d.ts +48 -0
- package/dist/lib/element/jsx-runtime.js +16 -0
- package/dist/lib/element/jsx-runtime.js.map +7 -0
- package/dist/lib/element/metadata.d.ts +96 -0
- package/dist/lib/element/metadata.js +160 -0
- package/dist/lib/element/metadata.js.map +7 -0
- package/dist/lib/element/resolve-primitive-inputs.d.ts +12 -0
- package/dist/lib/element/resolve-primitive-inputs.js +83 -0
- package/dist/lib/element/resolve-primitive-inputs.js.map +7 -0
- package/dist/lib/element/types.d.ts +123 -0
- package/dist/lib/element-enhancers.d.ts +134 -0
- package/dist/lib/element-enhancers.js +193 -0
- package/dist/lib/element-enhancers.js.map +7 -0
- package/dist/lib/events/adapters/clipboard.d.ts +9 -0
- package/dist/lib/events/adapters/clipboard.js +23 -0
- package/dist/lib/events/adapters/clipboard.js.map +7 -0
- package/dist/lib/events/adapters/drag.d.ts +12 -0
- package/dist/lib/events/adapters/drag.js +29 -0
- package/dist/lib/events/adapters/drag.js.map +7 -0
- package/dist/lib/events/adapters/editing.d.ts +15 -0
- package/dist/lib/events/adapters/editing.js +41 -0
- package/dist/lib/events/adapters/editing.js.map +7 -0
- package/dist/lib/events/adapters/keyboard-focus.d.ts +12 -0
- package/dist/lib/events/adapters/keyboard-focus.js +36 -0
- package/dist/lib/events/adapters/keyboard-focus.js.map +7 -0
- package/dist/lib/events/adapters/mouse.d.ts +17 -0
- package/dist/lib/events/adapters/mouse.js +32 -0
- package/dist/lib/events/adapters/mouse.js.map +7 -0
- package/dist/lib/events/adapters/pointer.d.ts +19 -0
- package/dist/lib/events/adapters/pointer.js +40 -0
- package/dist/lib/events/adapters/pointer.js.map +7 -0
- package/dist/lib/events/adapters/touch.d.ts +16 -0
- package/dist/lib/events/adapters/touch.js +36 -0
- package/dist/lib/events/adapters/touch.js.map +7 -0
- package/dist/lib/events/adapters/wheel.d.ts +10 -0
- package/dist/lib/events/adapters/wheel.js +16 -0
- package/dist/lib/events/adapters/wheel.js.map +7 -0
- package/dist/lib/events/boundary-transitions.d.ts +9 -0
- package/dist/lib/events/boundary-transitions.js +16 -0
- package/dist/lib/events/boundary-transitions.js.map +7 -0
- package/dist/lib/events/dispatch.d.ts +21 -0
- package/dist/lib/events/dispatch.js +1078 -0
- package/dist/lib/events/dispatch.js.map +7 -0
- package/dist/lib/events/event-definitions.d.ts +23 -0
- package/dist/lib/events/event-definitions.js +74 -0
- package/dist/lib/events/event-definitions.js.map +7 -0
- package/dist/lib/events/event-facade.d.ts +19 -0
- package/dist/lib/events/event-facade.js +188 -0
- package/dist/lib/events/event-facade.js.map +7 -0
- package/dist/lib/events/event-path.d.ts +3 -0
- package/dist/lib/events/event-path.js +43 -0
- package/dist/lib/events/event-path.js.map +7 -0
- package/dist/lib/events/hit-test.d.ts +13 -0
- package/dist/lib/events/hit-test.js +135 -0
- package/dist/lib/events/hit-test.js.map +7 -0
- package/dist/lib/events/native-listener-hub.d.ts +10 -0
- package/dist/lib/events/native-listener-hub.js +72 -0
- package/dist/lib/events/native-listener-hub.js.map +7 -0
- package/dist/lib/events/paint-entry.d.ts +66 -0
- package/dist/lib/events/paint-entry.js +30 -0
- package/dist/lib/events/paint-entry.js.map +7 -0
- package/dist/lib/events/pointer-capture.d.ts +23 -0
- package/dist/lib/events/pointer-capture.js +339 -0
- package/dist/lib/events/pointer-capture.js.map +7 -0
- package/dist/lib/events/propagation.d.ts +7 -0
- package/dist/lib/events/propagation.js +56 -0
- package/dist/lib/events/propagation.js.map +7 -0
- package/dist/lib/events/registrations.d.ts +120 -0
- package/dist/lib/events/registrations.js +397 -0
- package/dist/lib/events/registrations.js.map +7 -0
- package/dist/lib/events/resolver-input.d.ts +25 -0
- package/dist/lib/events/resolver-input.js +62 -0
- package/dist/lib/events/resolver-input.js.map +7 -0
- package/dist/lib/events/types.d.ts +596 -0
- package/dist/lib/execute-render.d.ts +9 -0
- package/dist/lib/execute-render.js +195 -0
- package/dist/lib/execute-render.js.map +7 -0
- package/dist/lib/filter/canvas-state.d.ts +2 -0
- package/dist/lib/filter/canvas-state.js +31 -0
- package/dist/lib/filter/canvas-state.js.map +7 -0
- package/dist/lib/filter/filter-region.d.ts +33 -0
- package/dist/lib/filter/filter-region.js +291 -0
- package/dist/lib/filter/filter-region.js.map +7 -0
- package/dist/lib/filter/filter-surface-pool.d.ts +38 -0
- package/dist/lib/filter/filter-surface-pool.js +252 -0
- package/dist/lib/filter/filter-surface-pool.js.map +7 -0
- package/dist/lib/filter/render-filter-boundary.d.ts +14 -0
- package/dist/lib/filter/render-filter-boundary.js +211 -0
- package/dist/lib/filter/render-filter-boundary.js.map +7 -0
- package/dist/lib/focus/directional-navigation.d.ts +12 -0
- package/dist/lib/focus/directional-navigation.js +86 -0
- package/dist/lib/focus/directional-navigation.js.map +7 -0
- package/dist/lib/focus/dom-focus-host.d.ts +13 -0
- package/dist/lib/focus/dom-focus-host.js +352 -0
- package/dist/lib/focus/dom-focus-host.js.map +7 -0
- package/dist/lib/focus/dom-tab-stops.d.ts +3 -0
- package/dist/lib/focus/dom-tab-stops.js +71 -0
- package/dist/lib/focus/dom-tab-stops.js.map +7 -0
- package/dist/lib/focus/focus-events.d.ts +4 -0
- package/dist/lib/focus/focus-events.js +78 -0
- package/dist/lib/focus/focus-events.js.map +7 -0
- package/dist/lib/focus/focus-manager.d.ts +121 -0
- package/dist/lib/focus/focus-manager.js +1131 -0
- package/dist/lib/focus/focus-manager.js.map +7 -0
- package/dist/lib/focus/geometry.d.ts +4 -0
- package/dist/lib/focus/geometry.js +64 -0
- package/dist/lib/focus/geometry.js.map +7 -0
- package/dist/lib/focus/html-focus-region.d.ts +27 -0
- package/dist/lib/focus/keyboard-defaults.d.ts +7 -0
- package/dist/lib/focus/keyboard-defaults.js +110 -0
- package/dist/lib/focus/keyboard-defaults.js.map +7 -0
- package/dist/lib/focus/policy-components.d.ts +45 -0
- package/dist/lib/focus/policy-components.js +94 -0
- package/dist/lib/focus/policy-components.js.map +7 -0
- package/dist/lib/focus/types.d.ts +37 -0
- package/dist/lib/focus/types.js +7 -0
- package/dist/lib/focus/types.js.map +7 -0
- package/dist/lib/geometry/circle.d.ts +22 -0
- package/dist/lib/geometry/circle.js +13 -0
- package/dist/lib/geometry/circle.js.map +7 -0
- package/dist/lib/geometry/circular-sweep.d.ts +54 -0
- package/dist/lib/geometry/circular-sweep.js +95 -0
- package/dist/lib/geometry/circular-sweep.js.map +7 -0
- package/dist/lib/geometry/ellipse.d.ts +26 -0
- package/dist/lib/geometry/ellipse.js +17 -0
- package/dist/lib/geometry/ellipse.js.map +7 -0
- package/dist/lib/geometry/line.d.ts +20 -0
- package/dist/lib/geometry/line.js +15 -0
- package/dist/lib/geometry/line.js.map +7 -0
- package/dist/lib/geometry/path-arc.d.ts +25 -0
- package/dist/lib/geometry/path-arc.js +57 -0
- package/dist/lib/geometry/path-arc.js.map +7 -0
- package/dist/lib/geometry/path-bend-guide.d.ts +31 -0
- package/dist/lib/geometry/path-bend-guide.js +282 -0
- package/dist/lib/geometry/path-bend-guide.js.map +7 -0
- package/dist/lib/geometry/path-bend-spans.d.ts +31 -0
- package/dist/lib/geometry/path-bend-spans.js +109 -0
- package/dist/lib/geometry/path-bend-spans.js.map +7 -0
- package/dist/lib/geometry/path-bending.d.ts +90 -0
- package/dist/lib/geometry/path-bending.js +202 -0
- package/dist/lib/geometry/path-bending.js.map +7 -0
- package/dist/lib/geometry/path-conversion.d.ts +19 -0
- package/dist/lib/geometry/path-conversion.js +114 -0
- package/dist/lib/geometry/path-conversion.js.map +7 -0
- package/dist/lib/geometry/path-geometry.d.ts +218 -0
- package/dist/lib/geometry/path-geometry.js +557 -0
- package/dist/lib/geometry/path-geometry.js.map +7 -0
- package/dist/lib/geometry/path-radial.d.ts +15 -0
- package/dist/lib/geometry/path-radial.js +107 -0
- package/dist/lib/geometry/path-radial.js.map +7 -0
- package/dist/lib/geometry/path-transforms.d.ts +233 -0
- package/dist/lib/geometry/path-transforms.js +478 -0
- package/dist/lib/geometry/path-transforms.js.map +7 -0
- package/dist/lib/geometry/path-utilities.d.ts +78 -0
- package/dist/lib/geometry/path-utilities.js +341 -0
- package/dist/lib/geometry/path-utilities.js.map +7 -0
- package/dist/lib/geometry/path-wang.d.ts +18 -0
- package/dist/lib/geometry/path-wang.js +136 -0
- package/dist/lib/geometry/path-wang.js.map +7 -0
- package/dist/lib/geometry/path-warp-bezier.d.ts +17 -0
- package/dist/lib/geometry/path-warp-bezier.js +109 -0
- package/dist/lib/geometry/path-warp-bezier.js.map +7 -0
- package/dist/lib/geometry/path-warp.d.ts +27 -0
- package/dist/lib/geometry/path-warp.js +165 -0
- package/dist/lib/geometry/path-warp.js.map +7 -0
- package/dist/lib/geometry/polygon.d.ts +21 -0
- package/dist/lib/geometry/polygon.js +12 -0
- package/dist/lib/geometry/polygon.js.map +7 -0
- package/dist/lib/geometry/rectangle.d.ts +38 -0
- package/dist/lib/geometry/rectangle.js +22 -0
- package/dist/lib/geometry/rectangle.js.map +7 -0
- package/dist/lib/geometry/regular-polygon.d.ts +88 -0
- package/dist/lib/geometry/regular-polygon.js +67 -0
- package/dist/lib/geometry/regular-polygon.js.map +7 -0
- package/dist/lib/geometry/resolve-path.d.ts +4 -0
- package/dist/lib/geometry/resolve-path.js +16 -0
- package/dist/lib/geometry/resolve-path.js.map +7 -0
- package/dist/lib/geometry/rounded-corners.d.ts +28 -0
- package/dist/lib/geometry/rounded-corners.js +118 -0
- package/dist/lib/geometry/rounded-corners.js.map +7 -0
- package/dist/lib/geometry/star.d.ts +39 -0
- package/dist/lib/geometry/star.js +90 -0
- package/dist/lib/geometry/star.js.map +7 -0
- package/dist/lib/geometry/svg-path.d.ts +21 -0
- package/dist/lib/geometry/svg-path.js +7 -0
- package/dist/lib/geometry/svg-path.js.map +7 -0
- package/dist/lib/geometry/transform-bend.d.ts +46 -0
- package/dist/lib/geometry/transform-bend.js +219 -0
- package/dist/lib/geometry/transform-bend.js.map +7 -0
- package/dist/lib/geometry/transform-guide.d.ts +57 -0
- package/dist/lib/geometry/transform-guide.js +157 -0
- package/dist/lib/geometry/transform-guide.js.map +7 -0
- package/dist/lib/geometry/transform-math.d.ts +21 -0
- package/dist/lib/geometry/transform-math.js +91 -0
- package/dist/lib/geometry/transform-math.js.map +7 -0
- package/dist/lib/geometry/transform-mesh.d.ts +39 -0
- package/dist/lib/geometry/transform-mesh.js +129 -0
- package/dist/lib/geometry/transform-mesh.js.map +7 -0
- package/dist/lib/geometry/validation.d.ts +6 -0
- package/dist/lib/geometry/validation.js +42 -0
- package/dist/lib/geometry/validation.js.map +7 -0
- package/dist/lib/global-state.d.ts +63 -0
- package/dist/lib/global-state.js +176 -0
- package/dist/lib/global-state.js.map +7 -0
- package/dist/lib/hooks/hook-slot.d.ts +30 -0
- package/dist/lib/hooks/hook-slot.js +66 -0
- package/dist/lib/hooks/hook-slot.js.map +7 -0
- package/dist/lib/hooks/use-animated-value.d.ts +24 -0
- package/dist/lib/hooks/use-animated-value.js +169 -0
- package/dist/lib/hooks/use-animated-value.js.map +7 -0
- package/dist/lib/hooks/use-canvas-context.d.ts +10 -0
- package/dist/lib/hooks/use-canvas-context.js +13 -0
- package/dist/lib/hooks/use-canvas-context.js.map +7 -0
- package/dist/lib/hooks/use-computed.d.ts +13 -0
- package/dist/lib/hooks/use-computed.js +91 -0
- package/dist/lib/hooks/use-computed.js.map +7 -0
- package/dist/lib/hooks/use-const.d.ts +10 -0
- package/dist/lib/hooks/use-const.js +15 -0
- package/dist/lib/hooks/use-const.js.map +7 -0
- package/dist/lib/hooks/use-cursor.d.ts +16 -0
- package/dist/lib/hooks/use-cursor.js +51 -0
- package/dist/lib/hooks/use-cursor.js.map +7 -0
- package/dist/lib/hooks/use-event-listener.d.ts +10 -0
- package/dist/lib/hooks/use-event-listener.js +24 -0
- package/dist/lib/hooks/use-event-listener.js.map +7 -0
- package/dist/lib/hooks/use-event-target.d.ts +14 -0
- package/dist/lib/hooks/use-event-target.js +30 -0
- package/dist/lib/hooks/use-event-target.js.map +7 -0
- package/dist/lib/hooks/use-layout-box.d.ts +9 -0
- package/dist/lib/hooks/use-layout-box.js +8 -0
- package/dist/lib/hooks/use-layout-box.js.map +7 -0
- package/dist/lib/hooks/use-line-path.d.ts +14 -0
- package/dist/lib/hooks/use-line-path.js +13 -0
- package/dist/lib/hooks/use-line-path.js.map +7 -0
- package/dist/lib/hooks/use-paint-target.d.ts +3 -0
- package/dist/lib/hooks/use-paint-target.js +34 -0
- package/dist/lib/hooks/use-paint-target.js.map +7 -0
- package/dist/lib/hooks/use-playback.d.ts +21 -0
- package/dist/lib/hooks/use-playback.js +87 -0
- package/dist/lib/hooks/use-playback.js.map +7 -0
- package/dist/lib/hooks/use-reaction.d.ts +19 -0
- package/dist/lib/hooks/use-reaction.js +245 -0
- package/dist/lib/hooks/use-reaction.js.map +7 -0
- package/dist/lib/hooks/use-rect-path.d.ts +20 -0
- package/dist/lib/hooks/use-rect-path.js +25 -0
- package/dist/lib/hooks/use-rect-path.js.map +7 -0
- package/dist/lib/hooks/use-ref.d.ts +17 -0
- package/dist/lib/hooks/use-ref.js +8 -0
- package/dist/lib/hooks/use-ref.js.map +7 -0
- package/dist/lib/hooks/use-region.d.ts +11 -0
- package/dist/lib/hooks/use-region.js +34 -0
- package/dist/lib/hooks/use-region.js.map +7 -0
- package/dist/lib/hooks/use-signal.d.ts +12 -0
- package/dist/lib/hooks/use-signal.js +12 -0
- package/dist/lib/hooks/use-signal.js.map +7 -0
- package/dist/lib/hooks/use-svg-path.d.ts +11 -0
- package/dist/lib/hooks/use-svg-path.js +13 -0
- package/dist/lib/hooks/use-svg-path.js.map +7 -0
- package/dist/lib/hooks/use-value-memo-slot.d.ts +12 -0
- package/dist/lib/hooks/use-value-memo-slot.js +45 -0
- package/dist/lib/hooks/use-value-memo-slot.js.map +7 -0
- package/dist/lib/hooks/use-visibility-transition.d.ts +103 -0
- package/dist/lib/hooks/use-visibility-transition.js +195 -0
- package/dist/lib/hooks/use-visibility-transition.js.map +7 -0
- package/dist/lib/html/html-service.d.ts +30 -0
- package/dist/lib/html/html-service.js +281 -0
- package/dist/lib/html/html-service.js.map +7 -0
- package/dist/lib/html/overlay-config.d.ts +3 -0
- package/dist/lib/html/overlay-config.js +37 -0
- package/dist/lib/html/overlay-config.js.map +7 -0
- package/dist/lib/html/portable-clips.d.ts +4 -0
- package/dist/lib/html/portable-clips.js +20 -0
- package/dist/lib/html/portable-clips.js.map +7 -0
- package/dist/lib/html/types.d.ts +110 -0
- package/dist/lib/layout/absolute.d.ts +57 -0
- package/dist/lib/layout/absolute.js +348 -0
- package/dist/lib/layout/absolute.js.map +7 -0
- package/dist/lib/layout/box.d.ts +19 -0
- package/dist/lib/layout/box.js +209 -0
- package/dist/lib/layout/box.js.map +7 -0
- package/dist/lib/layout/context.d.ts +13 -0
- package/dist/lib/layout/context.js +42 -0
- package/dist/lib/layout/context.js.map +7 -0
- package/dist/lib/layout/diagnostics.d.ts +15 -0
- package/dist/lib/layout/diagnostics.js +30 -0
- package/dist/lib/layout/diagnostics.js.map +7 -0
- package/dist/lib/layout/flex.d.ts +64 -0
- package/dist/lib/layout/flex.js +803 -0
- package/dist/lib/layout/flex.js.map +7 -0
- package/dist/lib/layout/flow.d.ts +53 -0
- package/dist/lib/layout/flow.js +400 -0
- package/dist/lib/layout/flow.js.map +7 -0
- package/dist/lib/layout/grid.d.ts +64 -0
- package/dist/lib/layout/grid.js +597 -0
- package/dist/lib/layout/grid.js.map +7 -0
- package/dist/lib/layout/measure.d.ts +19 -0
- package/dist/lib/layout/measure.js +144 -0
- package/dist/lib/layout/measure.js.map +7 -0
- package/dist/lib/layout/overlay.d.ts +42 -0
- package/dist/lib/layout/overlay.js +151 -0
- package/dist/lib/layout/overlay.js.map +7 -0
- package/dist/lib/layout/place-child.d.ts +12 -0
- package/dist/lib/layout/place-child.js +72 -0
- package/dist/lib/layout/place-child.js.map +7 -0
- package/dist/lib/layout/positioning-diagnostics.d.ts +3 -0
- package/dist/lib/layout/positioning-diagnostics.js +15 -0
- package/dist/lib/layout/positioning-diagnostics.js.map +7 -0
- package/dist/lib/layout/types.d.ts +78 -0
- package/dist/lib/manipulation/controller-types.d.ts +299 -0
- package/dist/lib/manipulation/controller.d.ts +57 -0
- package/dist/lib/manipulation/controller.js +464 -0
- package/dist/lib/manipulation/controller.js.map +7 -0
- package/dist/lib/manipulation/coordinates.d.ts +9 -0
- package/dist/lib/manipulation/coordinates.js +55 -0
- package/dist/lib/manipulation/coordinates.js.map +7 -0
- package/dist/lib/manipulation/degrees.d.ts +10 -0
- package/dist/lib/manipulation/degrees.js +9 -0
- package/dist/lib/manipulation/degrees.js.map +7 -0
- package/dist/lib/manipulation/frame.d.ts +24 -0
- package/dist/lib/manipulation/frame.js +101 -0
- package/dist/lib/manipulation/frame.js.map +7 -0
- package/dist/lib/manipulation/geometry.d.ts +4 -0
- package/dist/lib/manipulation/geometry.js +26 -0
- package/dist/lib/manipulation/geometry.js.map +7 -0
- package/dist/lib/manipulation/handles.d.ts +298 -0
- package/dist/lib/manipulation/handles.js +598 -0
- package/dist/lib/manipulation/handles.js.map +7 -0
- package/dist/lib/manipulation/manipulable.d.ts +65 -0
- package/dist/lib/manipulation/manipulable.js +47 -0
- package/dist/lib/manipulation/manipulable.js.map +7 -0
- package/dist/lib/manipulation/ownership.d.ts +15 -0
- package/dist/lib/manipulation/ownership.js +80 -0
- package/dist/lib/manipulation/ownership.js.map +7 -0
- package/dist/lib/manipulation/snap.d.ts +6 -0
- package/dist/lib/manipulation/snap.js +40 -0
- package/dist/lib/manipulation/snap.js.map +7 -0
- package/dist/lib/manipulation/solve.d.ts +2 -0
- package/dist/lib/manipulation/solve.js +563 -0
- package/dist/lib/manipulation/solve.js.map +7 -0
- package/dist/lib/manipulation/types.d.ts +178 -0
- package/dist/lib/mount-pibbl.d.ts +25 -0
- package/dist/lib/mount-pibbl.js +278 -0
- package/dist/lib/mount-pibbl.js.map +7 -0
- package/dist/lib/optional-services.d.ts +8 -0
- package/dist/lib/optional-services.js +11 -0
- package/dist/lib/optional-services.js.map +7 -0
- package/dist/lib/pibbl.d.ts +17 -0
- package/dist/lib/pibbl.js +21 -0
- package/dist/lib/pibbl.js.map +7 -0
- package/dist/lib/primitive-presentation.d.ts +24 -0
- package/dist/lib/primitive-presentation.js +102 -0
- package/dist/lib/primitive-presentation.js.map +7 -0
- package/dist/lib/render-layer/controller.d.ts +67 -0
- package/dist/lib/render-layer/controller.js +603 -0
- package/dist/lib/render-layer/controller.js.map +7 -0
- package/dist/lib/render-layer/define-render-layer.d.ts +17 -0
- package/dist/lib/render-layer/define-render-layer.js +90 -0
- package/dist/lib/render-layer/define-render-layer.js.map +7 -0
- package/dist/lib/render-layer/types.d.ts +315 -0
- package/dist/lib/render-target.d.ts +27 -0
- package/dist/lib/render-target.js +118 -0
- package/dist/lib/render-target.js.map +7 -0
- package/dist/lib/render-transaction.d.ts +10 -0
- package/dist/lib/render-transaction.js +46 -0
- package/dist/lib/render-transaction.js.map +7 -0
- package/dist/lib/render.d.ts +3 -0
- package/dist/lib/render.js +385 -0
- package/dist/lib/render.js.map +7 -0
- package/dist/lib/scheduler/realm-scheduler.d.ts +52 -0
- package/dist/lib/scheduler/realm-scheduler.js +964 -0
- package/dist/lib/scheduler/realm-scheduler.js.map +7 -0
- package/dist/lib/scheduler/renderer-participant.d.ts +257 -0
- package/dist/lib/scheduler/renderer-participant.js +216 -0
- package/dist/lib/scheduler/renderer-participant.js.map +7 -0
- package/dist/lib/scheduler/simulation-participant.d.ts +103 -0
- package/dist/lib/scheduler/simulation-participant.js +229 -0
- package/dist/lib/scheduler/simulation-participant.js.map +7 -0
- package/dist/lib/scheduler/testing.d.ts +56 -0
- package/dist/lib/scheduler/testing.js +71 -0
- package/dist/lib/scheduler/testing.js.map +7 -0
- package/dist/lib/scheduler/types.d.ts +103 -0
- package/dist/lib/signals/edge.d.ts +44 -0
- package/dist/lib/signals/edge.js +245 -0
- package/dist/lib/signals/edge.js.map +7 -0
- package/dist/lib/signals/graph.d.ts +220 -0
- package/dist/lib/signals/graph.js +1035 -0
- package/dist/lib/signals/graph.js.map +7 -0
- package/dist/lib/signals/input-provision.d.ts +3 -0
- package/dist/lib/signals/input-provision.js +67 -0
- package/dist/lib/signals/input-provision.js.map +7 -0
- package/dist/lib/signals/render-consumer.d.ts +21 -0
- package/dist/lib/signals/render-consumer.js +218 -0
- package/dist/lib/signals/render-consumer.js.map +7 -0
- package/dist/lib/signals/resolve-signal-value.d.ts +10 -0
- package/dist/lib/signals/resolve-signal-value.js +17 -0
- package/dist/lib/signals/resolve-signal-value.js.map +7 -0
- package/dist/lib/signals/types.d.ts +80 -0
- package/dist/lib/style/diagnostics.d.ts +83 -0
- package/dist/lib/style/diagnostics.js +63 -0
- package/dist/lib/style/diagnostics.js.map +7 -0
- package/dist/lib/style/empty-style.d.ts +3 -0
- package/dist/lib/style/empty-style.js +5 -0
- package/dist/lib/style/empty-style.js.map +7 -0
- package/dist/lib/style/filter-types.d.ts +243 -0
- package/dist/lib/style/filter-types.js +5 -0
- package/dist/lib/style/filter-types.js.map +7 -0
- package/dist/lib/style/filter.d.ts +7 -0
- package/dist/lib/style/filter.js +50 -0
- package/dist/lib/style/filter.js.map +7 -0
- package/dist/lib/style/normalize.d.ts +18 -0
- package/dist/lib/style/normalize.js +50 -0
- package/dist/lib/style/normalize.js.map +7 -0
- package/dist/lib/style/positioning.d.ts +32 -0
- package/dist/lib/style/positioning.js +81 -0
- package/dist/lib/style/positioning.js.map +7 -0
- package/dist/lib/style/resolve-built-in.d.ts +6 -0
- package/dist/lib/style/resolve-built-in.js +58 -0
- package/dist/lib/style/resolve-built-in.js.map +7 -0
- package/dist/lib/style/resolve-dispatch.d.ts +20 -0
- package/dist/lib/style/resolve-dispatch.js +167 -0
- package/dist/lib/style/resolve-dispatch.js.map +7 -0
- package/dist/lib/style/resolve-length.d.ts +16 -0
- package/dist/lib/style/resolve-length.js +54 -0
- package/dist/lib/style/resolve-length.js.map +7 -0
- package/dist/lib/style/responsive.d.ts +31 -0
- package/dist/lib/style/responsive.js +172 -0
- package/dist/lib/style/responsive.js.map +7 -0
- package/dist/lib/style/types.d.ts +338 -0
- package/dist/lib/surface/resolve-surface.d.ts +4 -0
- package/dist/lib/surface/resolve-surface.js +184 -0
- package/dist/lib/surface/resolve-surface.js.map +7 -0
- package/dist/lib/surface/root-surface.d.ts +7 -0
- package/dist/lib/surface/root-surface.js +171 -0
- package/dist/lib/surface/root-surface.js.map +7 -0
- package/dist/lib/surface/transform.d.ts +4 -0
- package/dist/lib/surface/transform.js +16 -0
- package/dist/lib/surface/transform.js.map +7 -0
- package/dist/lib/surface/types.d.ts +132 -0
- package/dist/lib/teardowns.d.ts +14 -0
- package/dist/lib/teardowns.js +50 -0
- package/dist/lib/teardowns.js.map +7 -0
- package/dist/lib/textures/texture-protocol.d.ts +124 -0
- package/dist/lib/textures/texture-protocol.js +40 -0
- package/dist/lib/textures/texture-protocol.js.map +7 -0
- package/dist/lib/textures/texture.d.ts +170 -0
- package/dist/lib/textures/texture.js +385 -0
- package/dist/lib/textures/texture.js.map +7 -0
- package/dist/lib/transitions/bifrost.d.ts +47 -0
- package/dist/lib/transitions/bifrost.js +91 -0
- package/dist/lib/transitions/bifrost.js.map +7 -0
- package/dist/lib/transitions/binding.d.ts +14 -0
- package/dist/lib/transitions/binding.js +35 -0
- package/dist/lib/transitions/binding.js.map +7 -0
- package/dist/lib/transitions/capture.d.ts +21 -0
- package/dist/lib/transitions/capture.js +91 -0
- package/dist/lib/transitions/capture.js.map +7 -0
- package/dist/lib/transitions/common.d.ts +130 -0
- package/dist/lib/transitions/common.js +57 -0
- package/dist/lib/transitions/common.js.map +7 -0
- package/dist/lib/transitions/define-transition.d.ts +64 -0
- package/dist/lib/transitions/define-transition.js +31 -0
- package/dist/lib/transitions/define-transition.js.map +7 -0
- package/dist/lib/transitions/embers-physics.d.ts +114 -0
- package/dist/lib/transitions/embers-physics.js +161 -0
- package/dist/lib/transitions/embers-physics.js.map +7 -0
- package/dist/lib/transitions/embers.d.ts +67 -0
- package/dist/lib/transitions/embers.js +196 -0
- package/dist/lib/transitions/embers.js.map +7 -0
- package/dist/lib/transitions/fade.d.ts +41 -0
- package/dist/lib/transitions/fade.js +31 -0
- package/dist/lib/transitions/fade.js.map +7 -0
- package/dist/lib/transitions/hologram.d.ts +47 -0
- package/dist/lib/transitions/hologram.js +94 -0
- package/dist/lib/transitions/hologram.js.map +7 -0
- package/dist/lib/transitions/wasm/bifrost-bytes.d.ts +1 -0
- package/dist/lib/transitions/wasm/bifrost-bytes.js +5 -0
- package/dist/lib/transitions/wasm/bifrost-bytes.js.map +7 -0
- package/dist/lib/transitions/wasm/bifrost-kernel.d.ts +1 -0
- package/dist/lib/transitions/wasm/bifrost-kernel.js +27 -0
- package/dist/lib/transitions/wasm/bifrost-kernel.js.map +7 -0
- package/dist/lib/transitions/wasm/embers-bytes.d.ts +1 -0
- package/dist/lib/transitions/wasm/embers-bytes.js +5 -0
- package/dist/lib/transitions/wasm/embers-bytes.js.map +7 -0
- package/dist/lib/transitions/wasm/hologram-bytes.d.ts +1 -0
- package/dist/lib/transitions/wasm/hologram-bytes.js +5 -0
- package/dist/lib/transitions/wasm/hologram-bytes.js.map +7 -0
- package/dist/lib/transitions/wasm/kernel.d.ts +7 -0
- package/dist/lib/transitions/wasm/kernel.js +26 -0
- package/dist/lib/transitions/wasm/kernel.js.map +7 -0
- package/dist/lib/types.d.ts +570 -0
- package/dist/lib/update.d.ts +8 -0
- package/dist/lib/update.js +20 -0
- package/dist/lib/update.js.map +7 -0
- package/dist/lib/util/get-2d-context.d.ts +2 -0
- package/dist/lib/util/get-2d-context.js +11 -0
- package/dist/lib/util/get-2d-context.js.map +7 -0
- package/dist/lib/util/get-mouse-coordinates.d.ts +2 -0
- package/dist/lib/util/get-mouse-coordinates.js +32 -0
- package/dist/lib/util/get-mouse-coordinates.js.map +7 -0
- package/dist/lib/util/is-hit.d.ts +11 -0
- package/dist/lib/util/is-hit.js +52 -0
- package/dist/lib/util/is-hit.js.map +7 -0
- package/dist/lib/util/is-transparent.d.ts +1 -0
- package/dist/lib/util/is-transparent.js +8 -0
- package/dist/lib/util/is-transparent.js.map +7 -0
- package/dist/lib/util/pixel-grid-adjustments.d.ts +8 -0
- package/dist/lib/util/pixel-grid-adjustments.js +28 -0
- package/dist/lib/util/pixel-grid-adjustments.js.map +7 -0
- package/dist/lib/util/push-clipping-path.d.ts +6 -0
- package/dist/lib/util/push-clipping-path.js +28 -0
- package/dist/lib/util/push-clipping-path.js.map +7 -0
- package/dist/lib/util/wire-common-events.d.ts +2 -0
- package/dist/lib/util/wire-common-events.js +15 -0
- package/dist/lib/util/wire-common-events.js.map +7 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/dist/types.js.map +7 -0
- package/dist/types.mjs +1 -0
- package/package.json +149 -0
|
@@ -0,0 +1,964 @@
|
|
|
1
|
+
import { RootRenderTransaction } from "../render-transaction.js";
|
|
2
|
+
import { executeRender } from "../execute-render.js";
|
|
3
|
+
import { GLOBAL_STATE, NO_PENDING_ROOT } from "../global-state.js";
|
|
4
|
+
import {
|
|
5
|
+
createSignalCommitBatch,
|
|
6
|
+
flushPendingComputedValidations,
|
|
7
|
+
hasPendingComputedValidations,
|
|
8
|
+
setSignalGraphPlanWorkNotifier,
|
|
9
|
+
withDirectSignalWriteForbidden
|
|
10
|
+
} from "../signals/graph.js";
|
|
11
|
+
import { runTeardown } from "../teardowns.js";
|
|
12
|
+
const registeredRoots = /* @__PURE__ */ new Set();
|
|
13
|
+
const currentInstanceWork = /* @__PURE__ */ new Map();
|
|
14
|
+
const nextInstanceWork = /* @__PURE__ */ new Map();
|
|
15
|
+
const advanceRegistrations = /* @__PURE__ */ new Set();
|
|
16
|
+
const ADVANCE_LANE_ORDER = { animation: 0, physics: 1 };
|
|
17
|
+
const beginCommands = [];
|
|
18
|
+
const frameCompletions = [];
|
|
19
|
+
const reactionCompletions = [];
|
|
20
|
+
const currentRendererWorkByOwner = /* @__PURE__ */ new Map();
|
|
21
|
+
const nextRendererWorkByOwner = /* @__PURE__ */ new Map();
|
|
22
|
+
const currentRendererParticipantCompletions = [];
|
|
23
|
+
const nextRendererParticipantCompletions = [];
|
|
24
|
+
let phase = "idle";
|
|
25
|
+
let pendingHostFrame;
|
|
26
|
+
let currentFrame;
|
|
27
|
+
let nextFrameId = 0;
|
|
28
|
+
let nextAdvanceRegistrationOrder = 0;
|
|
29
|
+
let nextWorkRevision = 0;
|
|
30
|
+
let nextRendererWorkOrder = 0;
|
|
31
|
+
let nextRendererCompletionOrder = 0;
|
|
32
|
+
let schedulerDriver;
|
|
33
|
+
let createdRootRegistrations = 0;
|
|
34
|
+
let releasedRootRegistrations = 0;
|
|
35
|
+
let createdBeginCommands = 0;
|
|
36
|
+
let releasedBeginCommands = 0;
|
|
37
|
+
let createdCompletionCallbacks = 0;
|
|
38
|
+
let releasedCompletionCallbacks = 0;
|
|
39
|
+
let currentFramePlanAdmissionDepth = 0;
|
|
40
|
+
let nextBeginCommandSequence = 0;
|
|
41
|
+
let currentFramePlaybackCompletions;
|
|
42
|
+
let currentFrameCommitAcknowledgements;
|
|
43
|
+
let currentFrameOrderedPlaybackCompletions;
|
|
44
|
+
let nextOrderedPlaybackCompletionSequence = 0;
|
|
45
|
+
let schedulerTraceCollector;
|
|
46
|
+
let schedulerTraceExclusive = false;
|
|
47
|
+
setSignalGraphPlanWorkNotifier(syncSignalGraphPlanWork);
|
|
48
|
+
function registerRootInstance(instance) {
|
|
49
|
+
if (!instance.parent && !registeredRoots.has(instance)) {
|
|
50
|
+
registeredRoots.add(instance);
|
|
51
|
+
createdRootRegistrations++;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function unregisterRootInstance(instance) {
|
|
55
|
+
if (registeredRoots.delete(instance)) {
|
|
56
|
+
releasedRootRegistrations++;
|
|
57
|
+
}
|
|
58
|
+
removeRootWork(instance);
|
|
59
|
+
cancelIdleHostFrame();
|
|
60
|
+
}
|
|
61
|
+
function requestInstanceRender(instance, request = {
|
|
62
|
+
pendingRoot: NO_PENDING_ROOT,
|
|
63
|
+
pendingUpdateParents: false
|
|
64
|
+
}) {
|
|
65
|
+
const revision = ++nextWorkRevision;
|
|
66
|
+
const target = shouldDeferNewFrameWork() ? nextInstanceWork : currentInstanceWork;
|
|
67
|
+
if (target === currentInstanceWork && request.pendingRoot !== NO_PENDING_ROOT) {
|
|
68
|
+
supersedeDeferredRootPayloads(instance, revision);
|
|
69
|
+
}
|
|
70
|
+
let current = instance;
|
|
71
|
+
while (current) {
|
|
72
|
+
current.requestedRenderRevision = revision;
|
|
73
|
+
mergePendingInstanceWork(target, current, {
|
|
74
|
+
firstRevision: revision,
|
|
75
|
+
revision,
|
|
76
|
+
pendingRoot: current === instance ? request.pendingRoot : NO_PENDING_ROOT,
|
|
77
|
+
pendingRootRevision: current === instance && request.pendingRoot !== NO_PENDING_ROOT ? revision : 0,
|
|
78
|
+
pendingUpdateParents: current === instance && request.pendingUpdateParents
|
|
79
|
+
});
|
|
80
|
+
synchronizeInstancePendingState(current);
|
|
81
|
+
current = current.parent ? GLOBAL_STATE.pibblInstances.get(current.parent) : void 0;
|
|
82
|
+
}
|
|
83
|
+
requestHostFrameIfNeeded();
|
|
84
|
+
return revision;
|
|
85
|
+
}
|
|
86
|
+
function hasPendingInstanceRender(instance) {
|
|
87
|
+
return instance.requestedRenderRevision > instance.completedRenderRevision && !(phase === "render" && nextInstanceWork.has(instance));
|
|
88
|
+
}
|
|
89
|
+
function registerAdvanceParticipant(participant, lane = "animation", requestsFrames = true) {
|
|
90
|
+
const registration = {
|
|
91
|
+
participant,
|
|
92
|
+
lane,
|
|
93
|
+
registrationOrder: ++nextAdvanceRegistrationOrder,
|
|
94
|
+
requestsFrames,
|
|
95
|
+
active: true
|
|
96
|
+
};
|
|
97
|
+
advanceRegistrations.add(registration);
|
|
98
|
+
requestHostFrameIfNeeded();
|
|
99
|
+
return () => {
|
|
100
|
+
if (!registration.active) return;
|
|
101
|
+
registration.active = false;
|
|
102
|
+
advanceRegistrations.delete(registration);
|
|
103
|
+
cancelIdleHostFrame();
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function queueBeginCommand(command) {
|
|
107
|
+
const sequence = ++nextBeginCommandSequence;
|
|
108
|
+
const registration = {
|
|
109
|
+
accepted: Object.freeze({ sequence, command }),
|
|
110
|
+
active: true,
|
|
111
|
+
owned: true
|
|
112
|
+
};
|
|
113
|
+
beginCommands.push(registration);
|
|
114
|
+
createdBeginCommands++;
|
|
115
|
+
requestHostFrameIfNeeded();
|
|
116
|
+
return Object.freeze({
|
|
117
|
+
sequence,
|
|
118
|
+
cancel() {
|
|
119
|
+
if (!registration.active) return;
|
|
120
|
+
registration.active = false;
|
|
121
|
+
const index = beginCommands.indexOf(registration);
|
|
122
|
+
if (index >= 0) {
|
|
123
|
+
beginCommands.splice(index, 1);
|
|
124
|
+
releaseBeginCommand(registration);
|
|
125
|
+
}
|
|
126
|
+
cancelIdleHostFrame();
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
function queueCurrentFrameCompletion(callback) {
|
|
131
|
+
if (currentFramePlaybackCompletions === void 0 || phase !== "begin" && phase !== "advance") {
|
|
132
|
+
return queueFrameCompletion(callback);
|
|
133
|
+
}
|
|
134
|
+
currentFramePlaybackCompletions.push(callback);
|
|
135
|
+
createdCompletionCallbacks++;
|
|
136
|
+
return createFrameCompletionCancellation(callback);
|
|
137
|
+
}
|
|
138
|
+
function queueCurrentFrameCommitAcknowledgement(callback) {
|
|
139
|
+
if (currentFrameCommitAcknowledgements === void 0 || phase !== "begin" && phase !== "advance") {
|
|
140
|
+
throw new Error(
|
|
141
|
+
"Pibbl frame Commit acknowledgements may only be queued during Begin or Advance."
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
currentFrameCommitAcknowledgements.push(callback);
|
|
145
|
+
createdCompletionCallbacks++;
|
|
146
|
+
let active = true;
|
|
147
|
+
return () => {
|
|
148
|
+
if (!active) return;
|
|
149
|
+
active = false;
|
|
150
|
+
const acknowledgements = currentFrameCommitAcknowledgements;
|
|
151
|
+
const index = acknowledgements?.indexOf(callback) ?? -1;
|
|
152
|
+
if (index < 0) return;
|
|
153
|
+
acknowledgements.splice(index, 1);
|
|
154
|
+
releasedCompletionCallbacks++;
|
|
155
|
+
cancelIdleHostFrame();
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
function queueCurrentFrameOrderedPlaybackCompletion(registrationOrder, callback) {
|
|
159
|
+
if (currentFrameOrderedPlaybackCompletions === void 0) {
|
|
160
|
+
queueFrameCompletion(callback);
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
currentFrameOrderedPlaybackCompletions.push({
|
|
164
|
+
registrationOrder,
|
|
165
|
+
sequence: ++nextOrderedPlaybackCompletionSequence,
|
|
166
|
+
callback
|
|
167
|
+
});
|
|
168
|
+
createdCompletionCallbacks++;
|
|
169
|
+
}
|
|
170
|
+
function queueFrameCompletion(callback) {
|
|
171
|
+
frameCompletions.push(callback);
|
|
172
|
+
createdCompletionCallbacks++;
|
|
173
|
+
requestHostFrameIfNeeded();
|
|
174
|
+
return createFrameCompletionCancellation(callback);
|
|
175
|
+
}
|
|
176
|
+
function queueReactionCompletion(callback) {
|
|
177
|
+
reactionCompletions.push(callback);
|
|
178
|
+
createdCompletionCallbacks++;
|
|
179
|
+
requestHostFrameIfNeeded();
|
|
180
|
+
return createFrameCompletionCancellation(callback, reactionCompletions);
|
|
181
|
+
}
|
|
182
|
+
function recordSchedulerTrace(record) {
|
|
183
|
+
const collector = schedulerTraceCollector;
|
|
184
|
+
if (collector === void 0) return;
|
|
185
|
+
try {
|
|
186
|
+
collector(Object.freeze(record));
|
|
187
|
+
} catch {
|
|
188
|
+
if (schedulerTraceCollector === collector) {
|
|
189
|
+
schedulerTraceCollector = void 0;
|
|
190
|
+
schedulerTraceExclusive = false;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
function requestRendererParticipantWork(owner, request) {
|
|
195
|
+
if (!owner.isActive()) return;
|
|
196
|
+
const rendererWorkByOwner = shouldDeferNewFrameWork() ? nextRendererWorkByOwner : currentRendererWorkByOwner;
|
|
197
|
+
let workByKey = rendererWorkByOwner.get(owner);
|
|
198
|
+
if (!workByKey) {
|
|
199
|
+
workByKey = /* @__PURE__ */ new Map();
|
|
200
|
+
rendererWorkByOwner.set(owner, workByKey);
|
|
201
|
+
}
|
|
202
|
+
const existing = workByKey.get(request.key);
|
|
203
|
+
if (existing) {
|
|
204
|
+
existing.request = request;
|
|
205
|
+
} else {
|
|
206
|
+
workByKey.set(request.key, {
|
|
207
|
+
owner,
|
|
208
|
+
request,
|
|
209
|
+
order: ++nextRendererWorkOrder
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
requestInstanceRender(owner.instance);
|
|
213
|
+
}
|
|
214
|
+
function queueRendererParticipantComplete(owner, callback) {
|
|
215
|
+
if (!owner.isActive()) return;
|
|
216
|
+
const completions = shouldDeferNewFrameWork() ? nextRendererParticipantCompletions : currentRendererParticipantCompletions;
|
|
217
|
+
completions.push({
|
|
218
|
+
owner,
|
|
219
|
+
callback,
|
|
220
|
+
order: ++nextRendererCompletionOrder
|
|
221
|
+
});
|
|
222
|
+
createdCompletionCallbacks++;
|
|
223
|
+
requestHostFrameIfNeeded();
|
|
224
|
+
}
|
|
225
|
+
function removeRendererParticipantOwner(owner) {
|
|
226
|
+
currentRendererWorkByOwner.delete(owner);
|
|
227
|
+
nextRendererWorkByOwner.delete(owner);
|
|
228
|
+
for (const completions of [
|
|
229
|
+
currentRendererParticipantCompletions,
|
|
230
|
+
nextRendererParticipantCompletions
|
|
231
|
+
]) {
|
|
232
|
+
for (let index = completions.length - 1; index >= 0; index--) {
|
|
233
|
+
if (completions[index].owner === owner) {
|
|
234
|
+
completions.splice(index, 1);
|
|
235
|
+
releasedCompletionCallbacks++;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
cancelIdleHostFrame();
|
|
240
|
+
}
|
|
241
|
+
function getCurrentFrameSnapshot() {
|
|
242
|
+
return GLOBAL_STATE.frameSnapshot ?? currentFrame;
|
|
243
|
+
}
|
|
244
|
+
function snapshotRealmScheduler() {
|
|
245
|
+
return Object.freeze({
|
|
246
|
+
phase,
|
|
247
|
+
pendingHostFrames: pendingHostFrame === void 0 ? 0 : 1,
|
|
248
|
+
registeredRoots: registeredRoots.size,
|
|
249
|
+
advanceParticipants: advanceRegistrations.size,
|
|
250
|
+
completionCallbacks: frameCompletions.length + reactionCompletions.length + (currentFrameCommitAcknowledgements?.length ?? 0) + (currentFramePlaybackCompletions?.length ?? 0) + (currentFrameOrderedPlaybackCompletions?.length ?? 0) + currentRendererParticipantCompletions.length + nextRendererParticipantCompletions.length,
|
|
251
|
+
createdRootRegistrations,
|
|
252
|
+
releasedRootRegistrations,
|
|
253
|
+
createdBeginCommands,
|
|
254
|
+
releasedBeginCommands,
|
|
255
|
+
createdCompletionCallbacks,
|
|
256
|
+
releasedCompletionCallbacks,
|
|
257
|
+
dirtyInstances: countDirtyInstances(),
|
|
258
|
+
dirtyRoots: countDirtyRoots(),
|
|
259
|
+
registeredAdvanceParticipants: advanceRegistrations.size,
|
|
260
|
+
queuedFrameCompletions: frameCompletions.length,
|
|
261
|
+
queuedReactionCompletions: reactionCompletions.length,
|
|
262
|
+
queuedBeginCommands: beginCommands.length,
|
|
263
|
+
currentFrame
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
function installSchedulerDriverForTest(driver) {
|
|
267
|
+
if (pendingHostFrame !== void 0 || phase !== "idle") {
|
|
268
|
+
throw new Error(
|
|
269
|
+
"Cannot replace the Pibbl scheduler driver while a frame is active."
|
|
270
|
+
);
|
|
271
|
+
}
|
|
272
|
+
const previous = schedulerDriver;
|
|
273
|
+
schedulerDriver = driver;
|
|
274
|
+
return () => {
|
|
275
|
+
if (pendingHostFrame !== void 0 || phase !== "idle") {
|
|
276
|
+
throw new Error(
|
|
277
|
+
"Cannot restore the Pibbl scheduler driver while a frame is active."
|
|
278
|
+
);
|
|
279
|
+
}
|
|
280
|
+
schedulerDriver = previous;
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
function installSchedulerTraceCollectorForTest(collector, exclusive = false) {
|
|
284
|
+
if (schedulerTraceExclusive || exclusive && schedulerTraceCollector !== void 0) {
|
|
285
|
+
throw new Error("Scheduler trace collector is already owned.");
|
|
286
|
+
}
|
|
287
|
+
const previous = schedulerTraceCollector;
|
|
288
|
+
schedulerTraceCollector = collector;
|
|
289
|
+
schedulerTraceExclusive = exclusive;
|
|
290
|
+
return () => {
|
|
291
|
+
if (schedulerTraceCollector === collector) {
|
|
292
|
+
schedulerTraceCollector = previous;
|
|
293
|
+
schedulerTraceExclusive = false;
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
function requestHostFrameIfNeeded() {
|
|
298
|
+
if (pendingHostFrame !== void 0 || phase !== "idle" || !hasFrameWork()) {
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
const driver = getSchedulerDriver();
|
|
302
|
+
pendingHostFrame = driver.requestFrame(runFrame);
|
|
303
|
+
}
|
|
304
|
+
function runFrame(hostTime) {
|
|
305
|
+
pendingHostFrame = void 0;
|
|
306
|
+
const snapshot = Object.freeze({
|
|
307
|
+
frameId: ++nextFrameId,
|
|
308
|
+
hostTime,
|
|
309
|
+
logicalTime: hostTime
|
|
310
|
+
});
|
|
311
|
+
currentFrame = snapshot;
|
|
312
|
+
const errors = [];
|
|
313
|
+
const transactions = [];
|
|
314
|
+
phase = "begin";
|
|
315
|
+
if (schedulerTraceCollector) recordSchedulerTrace({ kind: "scheduler-phase", collectedErrors: errors.length, phase, ...snapshot });
|
|
316
|
+
let rootJobs = captureRootJobs();
|
|
317
|
+
const commands = beginCommands.splice(0);
|
|
318
|
+
const completions = frameCompletions.splice(0);
|
|
319
|
+
const batch = createSignalCommitBatch();
|
|
320
|
+
currentFramePlaybackCompletions = [];
|
|
321
|
+
currentFrameCommitAcknowledgements = [];
|
|
322
|
+
currentFrameOrderedPlaybackCompletions = [];
|
|
323
|
+
for (const registration of commands) {
|
|
324
|
+
if (!registration.active) {
|
|
325
|
+
releaseBeginCommand(registration);
|
|
326
|
+
continue;
|
|
327
|
+
}
|
|
328
|
+
registration.active = false;
|
|
329
|
+
const { command, sequence } = registration.accepted;
|
|
330
|
+
try {
|
|
331
|
+
command(snapshot, batch, sequence);
|
|
332
|
+
} catch (error) {
|
|
333
|
+
batch.discardWriter(command);
|
|
334
|
+
errors.push(error);
|
|
335
|
+
} finally {
|
|
336
|
+
releaseBeginCommand(registration);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
const registrations = Object.freeze(
|
|
340
|
+
Array.from(advanceRegistrations).sort(
|
|
341
|
+
(a, b) => ADVANCE_LANE_ORDER[a.lane] - ADVANCE_LANE_ORDER[b.lane] || a.registrationOrder - b.registrationOrder
|
|
342
|
+
)
|
|
343
|
+
);
|
|
344
|
+
phase = "advance";
|
|
345
|
+
if (schedulerTraceCollector) recordSchedulerTrace({ kind: "scheduler-phase", collectedErrors: errors.length, phase, ...snapshot });
|
|
346
|
+
for (const registration of registrations) {
|
|
347
|
+
if (!registration.active) continue;
|
|
348
|
+
const { participant } = registration;
|
|
349
|
+
try {
|
|
350
|
+
withDirectSignalWriteForbidden(
|
|
351
|
+
"Cannot write to a signal directly during Pibbl scheduler Advance; stage it through the provided batch.",
|
|
352
|
+
() => participant(snapshot, batch)
|
|
353
|
+
);
|
|
354
|
+
} catch (error) {
|
|
355
|
+
batch.discardWriter(participant);
|
|
356
|
+
errors.push(error);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
phase = "commit";
|
|
360
|
+
if (schedulerTraceCollector) recordSchedulerTrace({ kind: "scheduler-phase", collectedErrors: errors.length, phase, ...snapshot });
|
|
361
|
+
let commitApplied = false;
|
|
362
|
+
try {
|
|
363
|
+
withCurrentFramePlanAdmission(
|
|
364
|
+
() => batch.commit(() => {
|
|
365
|
+
commitApplied = true;
|
|
366
|
+
})
|
|
367
|
+
);
|
|
368
|
+
} catch (error) {
|
|
369
|
+
errors.push(error);
|
|
370
|
+
}
|
|
371
|
+
const commitAcknowledgements = currentFrameCommitAcknowledgements;
|
|
372
|
+
currentFrameCommitAcknowledgements = void 0;
|
|
373
|
+
const commitOutcome = Object.freeze({ applied: commitApplied });
|
|
374
|
+
for (const acknowledgement of commitAcknowledgements) {
|
|
375
|
+
try {
|
|
376
|
+
acknowledgement(snapshot, commitOutcome);
|
|
377
|
+
} catch (error) {
|
|
378
|
+
errors.push(error);
|
|
379
|
+
} finally {
|
|
380
|
+
releasedCompletionCallbacks++;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
phase = "plan";
|
|
384
|
+
if (schedulerTraceCollector) recordSchedulerTrace({ kind: "scheduler-phase", collectedErrors: errors.length, commitApplied, phase, ...snapshot });
|
|
385
|
+
try {
|
|
386
|
+
withCurrentFramePlanAdmission(flushPendingComputedValidations);
|
|
387
|
+
} catch (error) {
|
|
388
|
+
errors.push(error);
|
|
389
|
+
}
|
|
390
|
+
rootJobs = mergeRootJobs(rootJobs, captureRootJobs());
|
|
391
|
+
const executableInstances = new Set(
|
|
392
|
+
rootJobs.flatMap(
|
|
393
|
+
(rootJob) => rootJob.instances.map((instanceJob) => instanceJob.instance)
|
|
394
|
+
)
|
|
395
|
+
);
|
|
396
|
+
const blockedRendererOwners = /* @__PURE__ */ new Set();
|
|
397
|
+
const rendererWork = captureRendererParticipantWork(
|
|
398
|
+
executableInstances,
|
|
399
|
+
blockedRendererOwners
|
|
400
|
+
);
|
|
401
|
+
const rendererCompletions = captureRendererParticipantCompletions(
|
|
402
|
+
blockedRendererOwners
|
|
403
|
+
);
|
|
404
|
+
const retryRendererOwners = /* @__PURE__ */ new Set();
|
|
405
|
+
phase = "render";
|
|
406
|
+
if (schedulerTraceCollector) recordSchedulerTrace({ kind: "scheduler-phase", collectedErrors: errors.length, commitApplied, phase, ...snapshot });
|
|
407
|
+
for (const rootJob of rootJobs) {
|
|
408
|
+
if (!registeredRoots.has(rootJob.root) || rootJob.root.mainTeardowns.closed) {
|
|
409
|
+
continue;
|
|
410
|
+
}
|
|
411
|
+
const transaction = createRootTransaction();
|
|
412
|
+
const transactionRecord = {
|
|
413
|
+
root: rootJob.root,
|
|
414
|
+
transaction,
|
|
415
|
+
success: false
|
|
416
|
+
};
|
|
417
|
+
transactions.push(transactionRecord);
|
|
418
|
+
rootJob.root.eventRoot.renderTransaction = transaction;
|
|
419
|
+
let failedInstance;
|
|
420
|
+
let rendererFailed = false;
|
|
421
|
+
try {
|
|
422
|
+
for (let jobIndex = 0; jobIndex < rootJob.instances.length; jobIndex++) {
|
|
423
|
+
const job = rootJob.instances[jobIndex];
|
|
424
|
+
if (job.instance.mainTeardowns.closed) continue;
|
|
425
|
+
const participantWork = rendererWork.get(job.instance);
|
|
426
|
+
const resourceFailures = runRendererParticipantStage(
|
|
427
|
+
participantWork,
|
|
428
|
+
"resource",
|
|
429
|
+
snapshot
|
|
430
|
+
);
|
|
431
|
+
if (resourceFailures.length > 0) {
|
|
432
|
+
restoreRendererParticipantFailure(
|
|
433
|
+
rootJob,
|
|
434
|
+
rendererWork,
|
|
435
|
+
jobIndex,
|
|
436
|
+
retryRendererOwners
|
|
437
|
+
);
|
|
438
|
+
errors.push(...resourceFailures);
|
|
439
|
+
rendererFailed = true;
|
|
440
|
+
break;
|
|
441
|
+
}
|
|
442
|
+
const drawFailures = runRendererParticipantStage(
|
|
443
|
+
participantWork,
|
|
444
|
+
"draw",
|
|
445
|
+
snapshot
|
|
446
|
+
);
|
|
447
|
+
if (drawFailures.length > 0) {
|
|
448
|
+
restoreRendererParticipantFailure(
|
|
449
|
+
rootJob,
|
|
450
|
+
rendererWork,
|
|
451
|
+
jobIndex,
|
|
452
|
+
retryRendererOwners
|
|
453
|
+
);
|
|
454
|
+
errors.push(...drawFailures);
|
|
455
|
+
rendererFailed = true;
|
|
456
|
+
break;
|
|
457
|
+
}
|
|
458
|
+
try {
|
|
459
|
+
executeRender(
|
|
460
|
+
job.instance.canvas,
|
|
461
|
+
snapshot.logicalTime,
|
|
462
|
+
job.pendingRoot,
|
|
463
|
+
false,
|
|
464
|
+
snapshot
|
|
465
|
+
);
|
|
466
|
+
const composeFailures = runRendererParticipantStage(
|
|
467
|
+
participantWork,
|
|
468
|
+
"compose",
|
|
469
|
+
snapshot
|
|
470
|
+
);
|
|
471
|
+
if (composeFailures.length > 0) {
|
|
472
|
+
restoreRendererParticipantFailure(
|
|
473
|
+
rootJob,
|
|
474
|
+
rendererWork,
|
|
475
|
+
jobIndex,
|
|
476
|
+
retryRendererOwners
|
|
477
|
+
);
|
|
478
|
+
errors.push(...composeFailures);
|
|
479
|
+
rendererFailed = true;
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
} catch (error) {
|
|
483
|
+
failedInstance = job.instance;
|
|
484
|
+
throw error;
|
|
485
|
+
}
|
|
486
|
+
completeInstanceRenderRevision(job.instance, job.revision);
|
|
487
|
+
}
|
|
488
|
+
transactionRecord.success = !rendererFailed;
|
|
489
|
+
} catch (error) {
|
|
490
|
+
if (failedInstance && failedInstance !== rootJob.root) {
|
|
491
|
+
restoreRootJob(rootJob);
|
|
492
|
+
}
|
|
493
|
+
errors.push(error);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
phase = "complete";
|
|
497
|
+
if (schedulerTraceCollector) recordSchedulerTrace({ kind: "scheduler-phase", collectedErrors: errors.length, commitApplied, phase, ...snapshot });
|
|
498
|
+
const reactions = reactionCompletions.splice(0);
|
|
499
|
+
for (const record of transactions) {
|
|
500
|
+
try {
|
|
501
|
+
record.transaction.finish(record.success);
|
|
502
|
+
} catch (error) {
|
|
503
|
+
errors.push(error);
|
|
504
|
+
} finally {
|
|
505
|
+
if (record.root.eventRoot.renderTransaction === record.transaction) {
|
|
506
|
+
record.root.eventRoot.renderTransaction = void 0;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
for (const reaction of reactions) {
|
|
511
|
+
try {
|
|
512
|
+
reaction(snapshot);
|
|
513
|
+
} catch (error) {
|
|
514
|
+
errors.push(error);
|
|
515
|
+
} finally {
|
|
516
|
+
releasedCompletionCallbacks++;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
for (const completion of completions) {
|
|
520
|
+
try {
|
|
521
|
+
completion(snapshot);
|
|
522
|
+
} catch (error) {
|
|
523
|
+
errors.push(error);
|
|
524
|
+
} finally {
|
|
525
|
+
releasedCompletionCallbacks++;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
const playbackCompletions = currentFramePlaybackCompletions;
|
|
529
|
+
for (const completion of playbackCompletions) {
|
|
530
|
+
try {
|
|
531
|
+
completion(snapshot);
|
|
532
|
+
} catch (error) {
|
|
533
|
+
errors.push(error);
|
|
534
|
+
} finally {
|
|
535
|
+
releasedCompletionCallbacks++;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
currentFramePlaybackCompletions = void 0;
|
|
539
|
+
const orderedPlaybackCompletions = currentFrameOrderedPlaybackCompletions;
|
|
540
|
+
currentFrameOrderedPlaybackCompletions = void 0;
|
|
541
|
+
orderedPlaybackCompletions.sort(
|
|
542
|
+
(left, right) => left.registrationOrder - right.registrationOrder || left.sequence - right.sequence
|
|
543
|
+
);
|
|
544
|
+
for (const completion of orderedPlaybackCompletions) {
|
|
545
|
+
try {
|
|
546
|
+
completion.callback(snapshot);
|
|
547
|
+
} catch (error) {
|
|
548
|
+
errors.push(error);
|
|
549
|
+
} finally {
|
|
550
|
+
releasedCompletionCallbacks++;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
for (const completion of rendererCompletions) {
|
|
554
|
+
if (!completion.owner.isActive()) {
|
|
555
|
+
releasedCompletionCallbacks++;
|
|
556
|
+
continue;
|
|
557
|
+
}
|
|
558
|
+
if (retryRendererOwners.has(completion.owner)) {
|
|
559
|
+
nextRendererParticipantCompletions.push(completion);
|
|
560
|
+
continue;
|
|
561
|
+
}
|
|
562
|
+
try {
|
|
563
|
+
completion.callback(snapshot);
|
|
564
|
+
} catch (error) {
|
|
565
|
+
errors.push(error);
|
|
566
|
+
} finally {
|
|
567
|
+
releasedCompletionCallbacks++;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
batch.clear();
|
|
571
|
+
currentFrame = void 0;
|
|
572
|
+
phase = "idle";
|
|
573
|
+
if (schedulerTraceCollector) recordSchedulerTrace({ kind: "scheduler-phase", collectedErrors: errors.length, commitApplied, phase, ...snapshot, errorCount: errors.length });
|
|
574
|
+
promoteNextFrameWork();
|
|
575
|
+
requestHostFrameIfNeeded();
|
|
576
|
+
throwCollectedErrors(errors);
|
|
577
|
+
}
|
|
578
|
+
function releaseBeginCommand(registration) {
|
|
579
|
+
if (!registration.owned) return;
|
|
580
|
+
registration.owned = false;
|
|
581
|
+
releasedBeginCommands++;
|
|
582
|
+
}
|
|
583
|
+
function createFrameCompletionCancellation(callback, ownedCompletions) {
|
|
584
|
+
let active = true;
|
|
585
|
+
return () => {
|
|
586
|
+
if (!active) return;
|
|
587
|
+
active = false;
|
|
588
|
+
for (const completions of ownedCompletions === void 0 ? [frameCompletions, currentFramePlaybackCompletions] : [ownedCompletions]) {
|
|
589
|
+
const index = completions?.indexOf(callback) ?? -1;
|
|
590
|
+
if (index < 0) continue;
|
|
591
|
+
completions.splice(index, 1);
|
|
592
|
+
releasedCompletionCallbacks++;
|
|
593
|
+
cancelIdleHostFrame();
|
|
594
|
+
return;
|
|
595
|
+
}
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
function captureRootJobs() {
|
|
599
|
+
const requested = Array.from(currentInstanceWork);
|
|
600
|
+
currentInstanceWork.clear();
|
|
601
|
+
const jobsByRoot = /* @__PURE__ */ new Map();
|
|
602
|
+
for (const [instance, work] of requested) {
|
|
603
|
+
synchronizeInstancePendingState(instance);
|
|
604
|
+
if (instance.mainTeardowns.closed) continue;
|
|
605
|
+
const root = findRoot(instance);
|
|
606
|
+
if (!root || !registeredRoots.has(root)) continue;
|
|
607
|
+
const jobs = jobsByRoot.get(root) ?? [];
|
|
608
|
+
jobs.push({
|
|
609
|
+
instance,
|
|
610
|
+
firstRevision: work.firstRevision,
|
|
611
|
+
revision: work.revision,
|
|
612
|
+
pendingRoot: work.pendingRoot,
|
|
613
|
+
pendingRootRevision: work.pendingRootRevision,
|
|
614
|
+
pendingUpdateParents: work.pendingUpdateParents
|
|
615
|
+
});
|
|
616
|
+
jobsByRoot.set(root, jobs);
|
|
617
|
+
}
|
|
618
|
+
const result = [];
|
|
619
|
+
for (const root of registeredRoots) {
|
|
620
|
+
const jobs = jobsByRoot.get(root);
|
|
621
|
+
if (!jobs) continue;
|
|
622
|
+
jobs.sort(
|
|
623
|
+
(left, right) => instanceDepth(right.instance) - instanceDepth(left.instance)
|
|
624
|
+
);
|
|
625
|
+
result.push({ root, instances: jobs });
|
|
626
|
+
}
|
|
627
|
+
return result;
|
|
628
|
+
}
|
|
629
|
+
function mergeRootJobs(initial, planned) {
|
|
630
|
+
const plannedByRoot = new Map(
|
|
631
|
+
planned.map((job) => [job.root, job.instances])
|
|
632
|
+
);
|
|
633
|
+
const merged = [];
|
|
634
|
+
for (const root of registeredRoots) {
|
|
635
|
+
const initialJob = initial.find((job) => job.root === root);
|
|
636
|
+
const plannedInstances = plannedByRoot.get(root);
|
|
637
|
+
if (!initialJob && !plannedInstances) continue;
|
|
638
|
+
const byInstance = /* @__PURE__ */ new Map();
|
|
639
|
+
for (const job of initialJob?.instances ?? []) {
|
|
640
|
+
byInstance.set(job.instance, job);
|
|
641
|
+
}
|
|
642
|
+
for (const job of plannedInstances ?? []) {
|
|
643
|
+
const existing = byInstance.get(job.instance);
|
|
644
|
+
byInstance.set(
|
|
645
|
+
job.instance,
|
|
646
|
+
existing ? {
|
|
647
|
+
instance: job.instance,
|
|
648
|
+
firstRevision: Math.min(
|
|
649
|
+
existing.firstRevision,
|
|
650
|
+
job.firstRevision
|
|
651
|
+
),
|
|
652
|
+
revision: Math.max(existing.revision, job.revision),
|
|
653
|
+
pendingRoot: job.pendingRootRevision > existing.pendingRootRevision ? job.pendingRoot : existing.pendingRoot,
|
|
654
|
+
pendingRootRevision: Math.max(
|
|
655
|
+
existing.pendingRootRevision,
|
|
656
|
+
job.pendingRootRevision
|
|
657
|
+
),
|
|
658
|
+
pendingUpdateParents: existing.pendingUpdateParents || job.pendingUpdateParents
|
|
659
|
+
} : job
|
|
660
|
+
);
|
|
661
|
+
}
|
|
662
|
+
const instances = Array.from(byInstance.values());
|
|
663
|
+
instances.sort(
|
|
664
|
+
(left, right) => instanceDepth(right.instance) - instanceDepth(left.instance)
|
|
665
|
+
);
|
|
666
|
+
merged.push({ root, instances });
|
|
667
|
+
}
|
|
668
|
+
return merged;
|
|
669
|
+
}
|
|
670
|
+
function findRoot(instance) {
|
|
671
|
+
let current = instance;
|
|
672
|
+
while (current?.parent) {
|
|
673
|
+
current = GLOBAL_STATE.pibblInstances.get(current.parent);
|
|
674
|
+
}
|
|
675
|
+
return current;
|
|
676
|
+
}
|
|
677
|
+
function supersedeDeferredRootPayloads(ancestor, revision) {
|
|
678
|
+
for (const [instance, deferred] of nextInstanceWork) {
|
|
679
|
+
if (deferred.pendingRootRevision > 0 && deferred.pendingRootRevision < revision && isInstanceWithin(instance, ancestor)) {
|
|
680
|
+
deferred.pendingRoot = NO_PENDING_ROOT;
|
|
681
|
+
deferred.pendingRootRevision = 0;
|
|
682
|
+
synchronizeInstancePendingState(instance);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
function isInstanceWithin(instance, ancestor) {
|
|
687
|
+
let current = instance;
|
|
688
|
+
while (current) {
|
|
689
|
+
if (current === ancestor) return true;
|
|
690
|
+
current = current.parent ? GLOBAL_STATE.pibblInstances.get(current.parent) : void 0;
|
|
691
|
+
}
|
|
692
|
+
return false;
|
|
693
|
+
}
|
|
694
|
+
function restoreRootJob(rootJob) {
|
|
695
|
+
if (!registeredRoots.has(rootJob.root) || rootJob.root.mainTeardowns.closed) {
|
|
696
|
+
return;
|
|
697
|
+
}
|
|
698
|
+
for (const job of rootJob.instances) {
|
|
699
|
+
const { instance } = job;
|
|
700
|
+
if (instance.mainTeardowns.closed || GLOBAL_STATE.pibblInstances.get(instance.canvas) !== instance) {
|
|
701
|
+
continue;
|
|
702
|
+
}
|
|
703
|
+
mergePendingInstanceWork(nextInstanceWork, instance, job);
|
|
704
|
+
synchronizeInstancePendingState(instance);
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
function instanceDepth(instance) {
|
|
708
|
+
let depth = 0;
|
|
709
|
+
let current = instance;
|
|
710
|
+
while (current?.parent) {
|
|
711
|
+
depth++;
|
|
712
|
+
current = GLOBAL_STATE.pibblInstances.get(current.parent);
|
|
713
|
+
}
|
|
714
|
+
return depth;
|
|
715
|
+
}
|
|
716
|
+
function removeRootWork(root) {
|
|
717
|
+
for (const workByInstance of [currentInstanceWork, nextInstanceWork]) {
|
|
718
|
+
for (const instance of workByInstance.keys()) {
|
|
719
|
+
if (findRoot(instance) === root) {
|
|
720
|
+
workByInstance.delete(instance);
|
|
721
|
+
synchronizeInstancePendingState(instance);
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
function countDirtyRoots() {
|
|
727
|
+
const roots = /* @__PURE__ */ new Set();
|
|
728
|
+
for (const workByInstance of [currentInstanceWork, nextInstanceWork]) {
|
|
729
|
+
for (const instance of workByInstance.keys()) {
|
|
730
|
+
const root = findRoot(instance);
|
|
731
|
+
if (root && registeredRoots.has(root)) roots.add(root);
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
return roots.size;
|
|
735
|
+
}
|
|
736
|
+
function countDirtyInstances() {
|
|
737
|
+
return (/* @__PURE__ */ new Set([...currentInstanceWork.keys(), ...nextInstanceWork.keys()])).size;
|
|
738
|
+
}
|
|
739
|
+
function hasActiveAdvanceParticipant() {
|
|
740
|
+
for (const registration of advanceRegistrations)
|
|
741
|
+
if (registration.requestsFrames) return true;
|
|
742
|
+
return false;
|
|
743
|
+
}
|
|
744
|
+
function hasFrameWork() {
|
|
745
|
+
return currentInstanceWork.size > 0 || nextInstanceWork.size > 0 || hasPendingComputedValidations() || beginCommands.length > 0 || hasActiveAdvanceParticipant() || frameCompletions.length > 0 || reactionCompletions.length > 0 || currentRendererWorkByOwner.size > 0 || nextRendererWorkByOwner.size > 0 || currentRendererParticipantCompletions.length > 0 || nextRendererParticipantCompletions.length > 0;
|
|
746
|
+
}
|
|
747
|
+
function captureRendererParticipantWork(executableInstances, blockedOwners) {
|
|
748
|
+
const byInstance = /* @__PURE__ */ new Map();
|
|
749
|
+
for (const [owner, workByKey] of currentRendererWorkByOwner) {
|
|
750
|
+
if (!owner.isActive()) {
|
|
751
|
+
currentRendererWorkByOwner.delete(owner);
|
|
752
|
+
continue;
|
|
753
|
+
}
|
|
754
|
+
if (!executableInstances.has(owner.instance)) {
|
|
755
|
+
blockedOwners.add(owner);
|
|
756
|
+
continue;
|
|
757
|
+
}
|
|
758
|
+
const work = byInstance.get(owner.instance) ?? [];
|
|
759
|
+
for (const registration of workByKey.values()) {
|
|
760
|
+
work.push(registration);
|
|
761
|
+
}
|
|
762
|
+
currentRendererWorkByOwner.delete(owner);
|
|
763
|
+
if (work.length > 0) byInstance.set(owner.instance, work);
|
|
764
|
+
}
|
|
765
|
+
const kindOrder = { resource: 0, draw: 1, compose: 2 };
|
|
766
|
+
for (const work of byInstance.values()) {
|
|
767
|
+
work.sort(
|
|
768
|
+
(left, right) => kindOrder[left.request.kind] - kindOrder[right.request.kind] || left.order - right.order
|
|
769
|
+
);
|
|
770
|
+
}
|
|
771
|
+
return byInstance;
|
|
772
|
+
}
|
|
773
|
+
function captureRendererParticipantCompletions(blockedOwners) {
|
|
774
|
+
const captured = [];
|
|
775
|
+
for (let index = 0; index < currentRendererParticipantCompletions.length; ) {
|
|
776
|
+
const completion = currentRendererParticipantCompletions[index];
|
|
777
|
+
if (blockedOwners.has(completion.owner)) {
|
|
778
|
+
index++;
|
|
779
|
+
continue;
|
|
780
|
+
}
|
|
781
|
+
currentRendererParticipantCompletions.splice(index, 1);
|
|
782
|
+
captured.push(completion);
|
|
783
|
+
}
|
|
784
|
+
captured.sort((left, right) => left.order - right.order);
|
|
785
|
+
return captured;
|
|
786
|
+
}
|
|
787
|
+
function runRendererParticipantStage(work, kind, snapshot) {
|
|
788
|
+
const errors = [];
|
|
789
|
+
if (!work) return errors;
|
|
790
|
+
for (const registration of work) {
|
|
791
|
+
if (registration.request.kind !== kind || !registration.owner.isActive()) {
|
|
792
|
+
continue;
|
|
793
|
+
}
|
|
794
|
+
try {
|
|
795
|
+
registration.request.run(snapshot);
|
|
796
|
+
} catch (error) {
|
|
797
|
+
errors.push(error);
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
return errors;
|
|
801
|
+
}
|
|
802
|
+
function restoreRendererParticipantFailure(rootJob, rendererWork, failedJobIndex, retryOwners) {
|
|
803
|
+
restoreRootJob(rootJob);
|
|
804
|
+
const ownersToRequest = /* @__PURE__ */ new Set();
|
|
805
|
+
for (let jobIndex = failedJobIndex; jobIndex < rootJob.instances.length; jobIndex++) {
|
|
806
|
+
const work = rendererWork.get(rootJob.instances[jobIndex].instance);
|
|
807
|
+
if (!work) continue;
|
|
808
|
+
for (const registration of work) {
|
|
809
|
+
const { owner, request } = registration;
|
|
810
|
+
if (!owner.isActive()) continue;
|
|
811
|
+
let workByKey = nextRendererWorkByOwner.get(owner);
|
|
812
|
+
if (!workByKey) {
|
|
813
|
+
workByKey = /* @__PURE__ */ new Map();
|
|
814
|
+
nextRendererWorkByOwner.set(owner, workByKey);
|
|
815
|
+
}
|
|
816
|
+
if (!workByKey.has(request.key)) {
|
|
817
|
+
workByKey.set(request.key, registration);
|
|
818
|
+
}
|
|
819
|
+
ownersToRequest.add(owner);
|
|
820
|
+
retryOwners.add(owner);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
for (const owner of ownersToRequest) {
|
|
824
|
+
requestInstanceRender(owner.instance);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
function mergePendingInstanceWork(target, instance, incoming) {
|
|
828
|
+
const existing = target.get(instance);
|
|
829
|
+
if (!existing) {
|
|
830
|
+
target.set(instance, { ...incoming });
|
|
831
|
+
return;
|
|
832
|
+
}
|
|
833
|
+
existing.firstRevision = Math.min(
|
|
834
|
+
existing.firstRevision,
|
|
835
|
+
incoming.firstRevision
|
|
836
|
+
);
|
|
837
|
+
existing.revision = Math.max(existing.revision, incoming.revision);
|
|
838
|
+
if (incoming.pendingRootRevision > existing.pendingRootRevision) {
|
|
839
|
+
existing.pendingRoot = incoming.pendingRoot;
|
|
840
|
+
existing.pendingRootRevision = incoming.pendingRootRevision;
|
|
841
|
+
}
|
|
842
|
+
existing.pendingUpdateParents ||= incoming.pendingUpdateParents;
|
|
843
|
+
}
|
|
844
|
+
function synchronizeInstancePendingState(instance) {
|
|
845
|
+
const current = currentInstanceWork.get(instance);
|
|
846
|
+
const next = nextInstanceWork.get(instance);
|
|
847
|
+
const rootSource = !current ? next : !next ? current : current.pendingRootRevision >= next.pendingRootRevision ? current : next;
|
|
848
|
+
instance.pendingRoot = rootSource ? rootSource.pendingRoot : NO_PENDING_ROOT;
|
|
849
|
+
instance.pendingUpdateParents = Boolean(
|
|
850
|
+
current?.pendingUpdateParents || next?.pendingUpdateParents
|
|
851
|
+
);
|
|
852
|
+
}
|
|
853
|
+
function completeInstanceRenderRevision(instance, revision) {
|
|
854
|
+
const pendingFirstRevisions = [
|
|
855
|
+
currentInstanceWork.get(instance)?.firstRevision,
|
|
856
|
+
nextInstanceWork.get(instance)?.firstRevision
|
|
857
|
+
].filter((value) => value !== void 0);
|
|
858
|
+
if (pendingFirstRevisions.length === 0) {
|
|
859
|
+
instance.completedRenderRevision = instance.requestedRenderRevision;
|
|
860
|
+
return;
|
|
861
|
+
}
|
|
862
|
+
if (Math.min(...pendingFirstRevisions) > revision) {
|
|
863
|
+
instance.completedRenderRevision = Math.max(
|
|
864
|
+
instance.completedRenderRevision,
|
|
865
|
+
revision
|
|
866
|
+
);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
function promoteNextFrameWork() {
|
|
870
|
+
const pendingInstances = /* @__PURE__ */ new Set();
|
|
871
|
+
for (const [instance, work] of nextInstanceWork) {
|
|
872
|
+
mergePendingInstanceWork(currentInstanceWork, instance, work);
|
|
873
|
+
pendingInstances.add(instance);
|
|
874
|
+
}
|
|
875
|
+
nextInstanceWork.clear();
|
|
876
|
+
for (const instance of pendingInstances) {
|
|
877
|
+
synchronizeInstancePendingState(instance);
|
|
878
|
+
}
|
|
879
|
+
for (const [owner, nextWorkByKey] of nextRendererWorkByOwner) {
|
|
880
|
+
let currentWorkByKey = currentRendererWorkByOwner.get(owner);
|
|
881
|
+
if (!currentWorkByKey) {
|
|
882
|
+
currentWorkByKey = /* @__PURE__ */ new Map();
|
|
883
|
+
currentRendererWorkByOwner.set(owner, currentWorkByKey);
|
|
884
|
+
}
|
|
885
|
+
for (const [key, registration] of nextWorkByKey) {
|
|
886
|
+
const existing = currentWorkByKey.get(key);
|
|
887
|
+
if (existing) {
|
|
888
|
+
existing.request = registration.request;
|
|
889
|
+
} else {
|
|
890
|
+
currentWorkByKey.set(key, registration);
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
nextRendererWorkByOwner.clear();
|
|
895
|
+
currentRendererParticipantCompletions.push(
|
|
896
|
+
...nextRendererParticipantCompletions
|
|
897
|
+
);
|
|
898
|
+
currentRendererParticipantCompletions.sort(
|
|
899
|
+
(left, right) => left.order - right.order
|
|
900
|
+
);
|
|
901
|
+
nextRendererParticipantCompletions.length = 0;
|
|
902
|
+
}
|
|
903
|
+
function cancelIdleHostFrame() {
|
|
904
|
+
if (pendingHostFrame === void 0 || hasFrameWork()) return;
|
|
905
|
+
const frame = pendingHostFrame;
|
|
906
|
+
pendingHostFrame = void 0;
|
|
907
|
+
runTeardown(() => getSchedulerDriver().cancelFrame(frame));
|
|
908
|
+
}
|
|
909
|
+
function syncSignalGraphPlanWork() {
|
|
910
|
+
if (hasPendingComputedValidations()) {
|
|
911
|
+
requestHostFrameIfNeeded();
|
|
912
|
+
} else {
|
|
913
|
+
cancelIdleHostFrame();
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
function withCurrentFramePlanAdmission(callback) {
|
|
917
|
+
currentFramePlanAdmissionDepth++;
|
|
918
|
+
try {
|
|
919
|
+
return callback();
|
|
920
|
+
} finally {
|
|
921
|
+
currentFramePlanAdmissionDepth--;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
function shouldDeferNewFrameWork() {
|
|
925
|
+
return phase !== "idle" && phase !== "begin" && currentFramePlanAdmissionDepth === 0;
|
|
926
|
+
}
|
|
927
|
+
function getSchedulerDriver() {
|
|
928
|
+
return schedulerDriver ?? {
|
|
929
|
+
requestFrame: (callback) => globalThis.requestAnimationFrame(callback),
|
|
930
|
+
cancelFrame: (frameId) => globalThis.cancelAnimationFrame(frameId)
|
|
931
|
+
};
|
|
932
|
+
}
|
|
933
|
+
function createRootTransaction() {
|
|
934
|
+
return new RootRenderTransaction();
|
|
935
|
+
}
|
|
936
|
+
function throwCollectedErrors(errors) {
|
|
937
|
+
if (errors.length === 1) throw errors[0];
|
|
938
|
+
if (errors.length > 1) {
|
|
939
|
+
throw new AggregateError(errors, "Multiple Pibbl frame operations failed.");
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
export {
|
|
943
|
+
completeInstanceRenderRevision,
|
|
944
|
+
getCurrentFrameSnapshot,
|
|
945
|
+
hasPendingInstanceRender,
|
|
946
|
+
installSchedulerDriverForTest,
|
|
947
|
+
installSchedulerTraceCollectorForTest,
|
|
948
|
+
queueBeginCommand,
|
|
949
|
+
queueCurrentFrameCommitAcknowledgement,
|
|
950
|
+
queueCurrentFrameCompletion,
|
|
951
|
+
queueCurrentFrameOrderedPlaybackCompletion,
|
|
952
|
+
queueFrameCompletion,
|
|
953
|
+
queueReactionCompletion,
|
|
954
|
+
queueRendererParticipantComplete,
|
|
955
|
+
recordSchedulerTrace,
|
|
956
|
+
registerAdvanceParticipant,
|
|
957
|
+
registerRootInstance,
|
|
958
|
+
removeRendererParticipantOwner,
|
|
959
|
+
requestInstanceRender,
|
|
960
|
+
requestRendererParticipantWork,
|
|
961
|
+
snapshotRealmScheduler,
|
|
962
|
+
unregisterRootInstance
|
|
963
|
+
};
|
|
964
|
+
//# sourceMappingURL=realm-scheduler.js.map
|