@motion-script/player 0.2.3 → 0.2.4

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.
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  enumerable: true
28
28
  }) : target, mod));
29
29
  //#endregion
30
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/tween/lerp.js
30
+ //#region ../core/dist/tween/lerp.js
31
31
  /**
32
32
  * Linearly interpolates between two numbers.
33
33
  *
@@ -41,7 +41,7 @@ function lerpNumber(from, to, t) {
41
41
  return from + (to - from) * t;
42
42
  }
43
43
  //#endregion
44
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/corners/border-radius.js
44
+ //#region ../core/dist/attributes/shape/corners/border-radius.js
45
45
  /** Returns true when `value` is a uniform (single-number) border radius. */
46
46
  function isUniformBorderRadius(value) {
47
47
  return typeof value === "number";
@@ -71,7 +71,7 @@ function resolveBorderRadius(value, previous) {
71
71
  };
72
72
  }
73
73
  //#endregion
74
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/layout/vector2.js
74
+ //#region ../core/dist/attributes/layout/vector2.js
75
75
  /** Linear interpolation between two Vector2 positions. t=0 returns `from`, t=1 returns `to`. */
76
76
  function lerpVector2(from, to, t) {
77
77
  return {
@@ -80,7 +80,7 @@ function lerpVector2(from, to, t) {
80
80
  };
81
81
  }
82
82
  //#endregion
83
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/fill/color/constants.js
83
+ //#region ../core/dist/attributes/shape/fill/color/constants.js
84
84
  /**
85
85
  * Pre-normalized CSS named color table.
86
86
  *
@@ -988,7 +988,7 @@ var CSS_COLOR_MAP = new Map([
988
988
  ]]
989
989
  ]);
990
990
  //#endregion
991
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/fill/color/parser.js
991
+ //#region ../core/dist/attributes/shape/fill/color/parser.js
992
992
  /**
993
993
  * CSS color string parser → normalized [R, G, B, A] float tuple.
994
994
  *
@@ -1188,7 +1188,7 @@ function parseColor(cssStr) {
1188
1188
  ]);
1189
1189
  }
1190
1190
  //#endregion
1191
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/fill/chain.js
1191
+ //#region ../core/dist/attributes/shape/fill/chain.js
1192
1192
  /** Strip `undefined` option keys so the produced props stay minimal/comparable. */
1193
1193
  function withOptions(base, options = {}) {
1194
1194
  const out = { ...base };
@@ -1312,7 +1312,7 @@ function resolveChainFill(fill) {
1312
1312
  return [fill];
1313
1313
  }
1314
1314
  //#endregion
1315
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/fill/implementations/color.js
1315
+ //#region ../core/dist/attributes/shape/fill/implementations/color.js
1316
1316
  var colorFill = {
1317
1317
  resolve: (prop) => ({
1318
1318
  type: "color",
@@ -1333,7 +1333,7 @@ var colorFill = {
1333
1333
  equals: (a, b) => a.color === b.color
1334
1334
  };
1335
1335
  //#endregion
1336
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/fill/implementations/linear-gradient.js
1336
+ //#region ../core/dist/attributes/shape/fill/implementations/linear-gradient.js
1337
1337
  function toNormalized$2(c) {
1338
1338
  return Array.isArray(c) ? c : parseColor(c);
1339
1339
  }
@@ -1372,7 +1372,7 @@ var linearGradientFill = {
1372
1372
  equals: (a, b) => a.start.x === b.start.x && a.start.y === b.start.y && a.end.x === b.end.x && a.end.y === b.end.y && a.colors.length === b.colors.length && a.colors.every((c, i) => c === b.colors[i])
1373
1373
  };
1374
1374
  //#endregion
1375
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/fill/implementations/radial-gradient.js
1375
+ //#region ../core/dist/attributes/shape/fill/implementations/radial-gradient.js
1376
1376
  function toNormalized$1(c) {
1377
1377
  return Array.isArray(c) ? c : parseColor(c);
1378
1378
  }
@@ -1408,12 +1408,12 @@ var radialGradientFill = {
1408
1408
  equals: (a, b) => a.center.x === b.center.x && a.center.y === b.center.y && a.radius === b.radius && a.colors.length === b.colors.length && a.colors.every((c, i) => c === b.colors[i])
1409
1409
  };
1410
1410
  //#endregion
1411
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/fill/implementations/conic-gradient.js
1411
+ //#region ../core/dist/attributes/shape/fill/implementations/conic-gradient.js
1412
1412
  function toNormalized(c) {
1413
1413
  return Array.isArray(c) ? c : parseColor(c);
1414
1414
  }
1415
1415
  //#endregion
1416
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/fill/registry.js
1416
+ //#region ../core/dist/attributes/shape/fill/registry.js
1417
1417
  var FILLS = new Map([
1418
1418
  ["color", colorFill],
1419
1419
  ["linear-gradient", linearGradientFill],
@@ -1548,7 +1548,7 @@ function resolveFillArray(prop) {
1548
1548
  return resolveChainFill(prop).map(resolveFill);
1549
1549
  }
1550
1550
  //#endregion
1551
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/shadow/resolver.js
1551
+ //#region ../core/dist/attributes/shape/shadow/resolver.js
1552
1552
  function resolveShadow(prop, previous) {
1553
1553
  return {
1554
1554
  blur: prop.blur ?? previous?.blur ?? 0,
@@ -1562,7 +1562,7 @@ function resolveShadowArray(prop, previous) {
1562
1562
  return (Array.isArray(prop) ? prop : [prop]).map((p, i) => resolveShadow(p, previous?.[i]));
1563
1563
  }
1564
1564
  //#endregion
1565
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/attributes/shape/stroke/mapper.js
1565
+ //#region ../core/dist/attributes/shape/stroke/mapper.js
1566
1566
  function resolveStroke(prop, previous) {
1567
1567
  let dash;
1568
1568
  if (prop.dash != null) {
@@ -1581,7 +1581,7 @@ function resolveStrokeArray(prop, previous) {
1581
1581
  return (Array.isArray(prop) ? prop : [prop]).map((p, i) => resolveStroke(p, previous?.[i]));
1582
1582
  }
1583
1583
  //#endregion
1584
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/project/tree.js
1584
+ //#region ../core/dist/project/tree.js
1585
1585
  /**
1586
1586
  * Structural key for a node within its scene: the child-index path from the
1587
1587
  * scene root, joined with ".". The root is "". Node ids are per-instance UUIDs
@@ -1593,7 +1593,7 @@ function nodePath(parentPath, childIndex) {
1593
1593
  return parentPath === "" ? String(childIndex) : `${parentPath}.${childIndex}`;
1594
1594
  }
1595
1595
  //#endregion
1596
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/ellipse.js
1596
+ //#region ../core/dist/render/descriptors/ellipse.js
1597
1597
  function withEllipseDescriptor(descriptor) {
1598
1598
  return {
1599
1599
  ...descriptor,
@@ -1617,7 +1617,7 @@ function withEllipseDescriptor(descriptor) {
1617
1617
  };
1618
1618
  }
1619
1619
  //#endregion
1620
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/rect.js
1620
+ //#region ../core/dist/render/descriptors/rect.js
1621
1621
  function withRectDescriptor(descriptor) {
1622
1622
  return {
1623
1623
  ...descriptor,
@@ -1639,7 +1639,7 @@ function withRectDescriptor(descriptor) {
1639
1639
  };
1640
1640
  }
1641
1641
  //#endregion
1642
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/text.js
1642
+ //#region ../core/dist/render/descriptors/text.js
1643
1643
  function withTextDescriptor(descriptor) {
1644
1644
  return {
1645
1645
  ...descriptor,
@@ -1670,7 +1670,7 @@ function withTextDescriptor(descriptor) {
1670
1670
  };
1671
1671
  }
1672
1672
  //#endregion
1673
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/richtext.js
1673
+ //#region ../core/dist/render/descriptors/richtext.js
1674
1674
  function withRichTextDescriptor(descriptor) {
1675
1675
  return {
1676
1676
  ...descriptor,
@@ -1694,7 +1694,7 @@ function withRichTextDescriptor(descriptor) {
1694
1694
  };
1695
1695
  }
1696
1696
  //#endregion
1697
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/path.js
1697
+ //#region ../core/dist/render/descriptors/path.js
1698
1698
  function toPathString(d) {
1699
1699
  if (typeof d === "string") return d;
1700
1700
  return d.map((cmd) => {
@@ -1743,7 +1743,7 @@ function withPathDescriptor(descriptor) {
1743
1743
  };
1744
1744
  }
1745
1745
  //#endregion
1746
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/path-builder.js
1746
+ //#region ../core/dist/render/descriptors/path-builder.js
1747
1747
  var PathBuilder = class {
1748
1748
  cmds = [];
1749
1749
  moveTo(x, y) {
@@ -1812,7 +1812,7 @@ var PathBuilder = class {
1812
1812
  }
1813
1813
  };
1814
1814
  //#endregion
1815
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/line.js
1815
+ //#region ../core/dist/render/descriptors/line.js
1816
1816
  function withLineDescriptor(descriptor) {
1817
1817
  return {
1818
1818
  opacity: descriptor.opacity ?? 1,
@@ -1835,7 +1835,7 @@ function withLineDescriptor(descriptor) {
1835
1835
  };
1836
1836
  }
1837
1837
  //#endregion
1838
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/image.js
1838
+ //#region ../core/dist/render/descriptors/image.js
1839
1839
  function withImageDescriptor(descriptor) {
1840
1840
  return {
1841
1841
  ...withRectDescriptor(descriptor),
@@ -1847,7 +1847,7 @@ function withImageDescriptor(descriptor) {
1847
1847
  };
1848
1848
  }
1849
1849
  //#endregion
1850
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/polygon.js
1850
+ //#region ../core/dist/render/descriptors/polygon.js
1851
1851
  function withPolygonDescriptor(descriptor) {
1852
1852
  return {
1853
1853
  ...descriptor,
@@ -1870,7 +1870,7 @@ function withPolygonDescriptor(descriptor) {
1870
1870
  };
1871
1871
  }
1872
1872
  //#endregion
1873
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/descriptors/polygram.js
1873
+ //#region ../core/dist/render/descriptors/polygram.js
1874
1874
  function withPolygramDescriptor(descriptor) {
1875
1875
  return {
1876
1876
  ...descriptor,
@@ -1894,7 +1894,7 @@ function withPolygramDescriptor(descriptor) {
1894
1894
  };
1895
1895
  }
1896
1896
  //#endregion
1897
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/util/random.js
1897
+ //#region ../core/dist/util/random.js
1898
1898
  /**
1899
1899
  * Deterministic pseudo-random number generator based on the mulberry32 algorithm.
1900
1900
  * Produces the same sequence for the same seed, making animations reproducible.
@@ -1924,7 +1924,7 @@ var SeedGenerator = class {
1924
1924
  }
1925
1925
  };
1926
1926
  //#endregion
1927
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/build-stage.js
1927
+ //#region ../core/dist/render/build-stage.js
1928
1928
  /**
1929
1929
  * Provides per-frame context during the build/evaluation pass of a scene.
1930
1930
  *
@@ -2009,7 +2009,7 @@ var BuildStage = class {
2009
2009
  }
2010
2010
  };
2011
2011
  //#endregion
2012
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/render-context.js
2012
+ //#region ../core/dist/render/render-context.js
2013
2013
  /**
2014
2014
  * Low-level shape-drawing API. Each method declares a shape and returns a
2015
2015
  * `Render2DPaintContext` that lets you chain further shapes and apply paint
@@ -2102,7 +2102,7 @@ var RenderContext = class extends Render2DContext {
2102
2102
  }
2103
2103
  };
2104
2104
  //#endregion
2105
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/render/measure-scope.js
2105
+ //#region ../core/dist/render/measure-scope.js
2106
2106
  /**
2107
2107
  * Provides text-measurement primitives to any context that needs to know how
2108
2108
  * wide a run of text will be before actually drawing it (e.g. for layout
@@ -2113,7 +2113,7 @@ var RenderContext = class extends Render2DContext {
2113
2113
  */
2114
2114
  var MeasureScope = class {};
2115
2115
  //#endregion
2116
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/assets/manager.js
2116
+ //#region ../core/dist/assets/manager.js
2117
2117
  /**
2118
2118
  * Coordinates asset loading and audio synchronization during playback.
2119
2119
  * Wraps a {@link PrecompResult} and delegates storage/audio work to platform adapters.
@@ -2207,7 +2207,7 @@ function setsEqual(a, b) {
2207
2207
  return true;
2208
2208
  }
2209
2209
  //#endregion
2210
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/runtime/state-evaluator.js
2210
+ //#region ../core/dist/runtime/state-evaluator.js
2211
2211
  /**
2212
2212
  * Drives scene generators forward in time and exposes the evaluated state for
2213
2213
  * layout and rendering. It is the stateful playback engine that `PlaybackController`
@@ -2358,7 +2358,7 @@ var StateEvaluator = class {
2358
2358
  }
2359
2359
  };
2360
2360
  //#endregion
2361
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/assets/tracker.js
2361
+ //#region ../core/dist/assets/tracker.js
2362
2362
  /**
2363
2363
  * Collects asset requests emitted during a frame render pass and maintains their
2364
2364
  * frame-range entries. Call {@link start} before rendering a frame and {@link end}
@@ -2535,7 +2535,7 @@ var AssetTracker = class {
2535
2535
  }
2536
2536
  };
2537
2537
  //#endregion
2538
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/runtime/precompisition.js
2538
+ //#region ../core/dist/runtime/precompisition.js
2539
2539
  /**
2540
2540
  * Runs a full offline build pass over every scene before playback starts.
2541
2541
  *
@@ -2721,7 +2721,7 @@ function buildAssetMap(registry, fps) {
2721
2721
  return out;
2722
2722
  }
2723
2723
  //#endregion
2724
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/runtime/playback-controller.js
2724
+ //#region ../core/dist/runtime/playback-controller.js
2725
2725
  /**
2726
2726
  * Orchestrates playback of a compiled motion-script project.
2727
2727
  *
@@ -2940,7 +2940,7 @@ function findNode(root, id) {
2940
2940
  return null;
2941
2941
  }
2942
2942
  //#endregion
2943
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/platform/master-clock.js
2943
+ //#region ../core/dist/platform/master-clock.js
2944
2944
  /**
2945
2945
  * Platform-agnostic base class for driving animation playback.
2946
2946
  *
@@ -3022,7 +3022,7 @@ var MasterClock = class {
3022
3022
  }
3023
3023
  };
3024
3024
  //#endregion
3025
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/platform/audio-device.js
3025
+ //#region ../core/dist/platform/audio-device.js
3026
3026
  /**
3027
3027
  * Stackable audio player driven by the AssetManager.
3028
3028
  *
@@ -3042,7 +3042,7 @@ var AudioDevice = class {
3042
3042
  }
3043
3043
  };
3044
3044
  //#endregion
3045
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/platform/storage-adapter.js
3045
+ //#region ../core/dist/platform/storage-adapter.js
3046
3046
  var StorageAdapter = class {
3047
3047
  catalog;
3048
3048
  viewport;
@@ -3102,7 +3102,7 @@ var StorageAdapter = class {
3102
3102
  }
3103
3103
  };
3104
3104
  //#endregion
3105
- //#region ../../node_modules/.pnpm/@motion-script+core@0.2.0/node_modules/@motion-script/core/dist/assets/catalog.js
3105
+ //#region ../core/dist/assets/catalog.js
3106
3106
  /**
3107
3107
  * A read-only query engine for retrieving strongly-typed asset metadata from an {@link AssetManifest}.
3108
3108
  * * Use this class to safely extract dimensions, durations, and specific configurations for images,
@@ -3212,7 +3212,7 @@ var AssetCatalog = class {
3212
3212
  }
3213
3213
  };
3214
3214
  //#endregion
3215
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/paragraph-layout.js
3215
+ //#region ../web/dist/shapes/paragraph-layout.js
3216
3216
  function fontSlantFor(canvasKit, style) {
3217
3217
  switch (style) {
3218
3218
  case "italic": return canvasKit.FontSlant.Italic;
@@ -3362,7 +3362,7 @@ function drawShapedRun(canvas, run, paint) {
3362
3362
  canvas.drawGlyphs(run.glyphs, run.positions, 0, 0, run.font, paint);
3363
3363
  }
3364
3364
  //#endregion
3365
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/richtext.js
3365
+ //#region ../web/dist/shapes/richtext.js
3366
3366
  /**
3367
3367
  * Lay out rich text via ParagraphBuilder (line-breaking, alignment, per-span
3368
3368
  * sizing/spacing) and return shaped glyph runs we draw with our own paints, so
@@ -3394,13 +3394,13 @@ function layoutRichText(canvasKit, fontMgr, state) {
3394
3394
  };
3395
3395
  }
3396
3396
  //#endregion
3397
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/renderer.js
3397
+ //#region ../web/dist/fills/renderer.js
3398
3398
  var FillRenderer = class {
3399
3399
  /** Release any persistent CanvasKit objects held by this renderer. */
3400
3400
  dispose() {}
3401
3401
  };
3402
3402
  //#endregion
3403
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/filter.js
3403
+ //#region ../web/dist/fills/filters/filter.js
3404
3404
  /**
3405
3405
  * Abstract base for per-filter-type image-fill filters.
3406
3406
  *
@@ -3417,7 +3417,7 @@ var ImageFillFilter = class {
3417
3417
  dispose() {}
3418
3418
  };
3419
3419
  //#endregion
3420
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/exposure.js
3420
+ //#region ../web/dist/fills/filters/exposure.js
3421
3421
  /** Multiplies RGB channels by `value` (linear exposure scaling), alpha untouched. */
3422
3422
  var ExposureImageFillFilter = class extends ImageFillFilter {
3423
3423
  constructor() {
@@ -3454,7 +3454,7 @@ var ExposureImageFillFilter = class extends ImageFillFilter {
3454
3454
  }
3455
3455
  };
3456
3456
  //#endregion
3457
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/blur.js
3457
+ //#region ../web/dist/fills/filters/blur.js
3458
3458
  /** Gaussian blur; `value` is halved to map the spec's units to Skia's sigma. */
3459
3459
  var BlurImageFillFilter = class extends ImageFillFilter {
3460
3460
  constructor() {
@@ -3466,7 +3466,7 @@ var BlurImageFillFilter = class extends ImageFillFilter {
3466
3466
  }
3467
3467
  };
3468
3468
  //#endregion
3469
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/grayscale.js
3469
+ //#region ../web/dist/fills/filters/grayscale.js
3470
3470
  var LR$2 = .2126;
3471
3471
  var LG$2 = .7152;
3472
3472
  var LB$2 = .0722;
@@ -3506,7 +3506,7 @@ var GrayscaleImageFillFilter = class extends ImageFillFilter {
3506
3506
  }
3507
3507
  };
3508
3508
  //#endregion
3509
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/alpha.js
3509
+ //#region ../web/dist/fills/filters/alpha.js
3510
3510
  /** Scales the image's alpha channel by `value` via a 4×5 color matrix. */
3511
3511
  var AlphaImageFillFilter = class extends ImageFillFilter {
3512
3512
  constructor() {
@@ -3542,7 +3542,7 @@ var AlphaImageFillFilter = class extends ImageFillFilter {
3542
3542
  }
3543
3543
  };
3544
3544
  //#endregion
3545
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/color-matrix.js
3545
+ //#region ../web/dist/fills/filters/color-matrix.js
3546
3546
  /** Applies an arbitrary user-supplied 4×5 color matrix verbatim. */
3547
3547
  var ColorMatrixImageFillFilter = class extends ImageFillFilter {
3548
3548
  constructor() {
@@ -3556,7 +3556,7 @@ var ColorMatrixImageFillFilter = class extends ImageFillFilter {
3556
3556
  }
3557
3557
  };
3558
3558
  //#endregion
3559
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/curves.js
3559
+ //#region ../web/dist/fills/filters/curves.js
3560
3560
  /**
3561
3561
  * Evaluate a piecewise-linear curve at x ∈ [0, 1].
3562
3562
  * Assumes `points` are sorted by their x coordinate.
@@ -3657,7 +3657,7 @@ var CurvesImageFillFilter = class extends ImageFillFilter {
3657
3657
  }
3658
3658
  };
3659
3659
  //#endregion
3660
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/color-adjustment.js
3660
+ //#region ../web/dist/fills/filters/color-adjustment.js
3661
3661
  var LR$1 = .2126, LG$1 = .7152, LB$1 = .0722;
3662
3662
  function identity$1() {
3663
3663
  return [
@@ -3908,7 +3908,7 @@ var ColorAdjustmentImageFillFilter = class extends ImageFillFilter {
3908
3908
  }
3909
3909
  };
3910
3910
  //#endregion
3911
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/filters/registry.js
3911
+ //#region ../web/dist/fills/filters/registry.js
3912
3912
  var ImageFillFilterRegistry = class {
3913
3913
  static list = [
3914
3914
  new ExposureImageFillFilter(),
@@ -3946,7 +3946,7 @@ var ImageFillFilterRegistry = class {
3946
3946
  }
3947
3947
  };
3948
3948
  //#endregion
3949
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/image.js
3949
+ //#region ../web/dist/fills/image.js
3950
3950
  /** Shades with the adapter-decoded image and applies the fill's filter chain. */
3951
3951
  var ImageFillRenderer = class extends FillRenderer {
3952
3952
  applyPaint(fill, ctx) {
@@ -4043,7 +4043,7 @@ function makeImageShader(img, fill, ck, bounds) {
4043
4043
  return img.makeShaderOptions(tileMode, tileMode, ck.FilterMode.Linear, ck.MipmapMode.None, matrix);
4044
4044
  }
4045
4045
  //#endregion
4046
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/image.js
4046
+ //#region ../web/dist/shapes/image.js
4047
4047
  /**
4048
4048
  * Renders an Image node.
4049
4049
  *
@@ -4238,7 +4238,7 @@ var ImageNodeRenderer = class {
4238
4238
  }
4239
4239
  };
4240
4240
  //#endregion
4241
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/trim.js
4241
+ //#region ../web/dist/shapes/trim.js
4242
4242
  /**
4243
4243
  * Returns the sub-path spanning [start, end] (fractions of total contour
4244
4244
  * length, measured across all contours combined) by walking each contour with
@@ -4284,7 +4284,7 @@ function trimPath(canvasKit, ckPath, start, end) {
4284
4284
  return canvasKit.Path.MakeFromSVGString(svgParts.join(" ")) ?? ckPath;
4285
4285
  }
4286
4286
  //#endregion
4287
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/base.js
4287
+ //#region ../web/dist/shapes/base.js
4288
4288
  /**
4289
4289
  * Common lifecycle for path-backed shapes: resolve state once, lazily compute
4290
4290
  * geometry, build a CanvasKit path from an SVG string (with optional trim),
@@ -4364,7 +4364,7 @@ var BaseShape = class {
4364
4364
  computeBounds(_geo) {}
4365
4365
  };
4366
4366
  //#endregion
4367
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/rect.js
4367
+ //#region ../web/dist/shapes/rect.js
4368
4368
  function roundedRectToSvg(l, t, r, b, tl, tr, br, bl) {
4369
4369
  return [
4370
4370
  `M ${l + tl} ${t}`,
@@ -4489,7 +4489,7 @@ var RectShape = class extends BaseShape {
4489
4489
  }
4490
4490
  };
4491
4491
  //#endregion
4492
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/ellipse.js
4492
+ //#region ../web/dist/shapes/ellipse.js
4493
4493
  /** Ellipse, optionally a partial arc (`sweep` < 360°) defined via SVG arc commands. */
4494
4494
  var EllipseShape = class extends BaseShape {
4495
4495
  resolveState(state) {
@@ -4545,7 +4545,7 @@ var EllipseShape = class extends BaseShape {
4545
4545
  }
4546
4546
  };
4547
4547
  //#endregion
4548
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/polygon.js
4548
+ //#region ../web/dist/shapes/polygon.js
4549
4549
  function buildPolygonSvg(cx, cy, rx, ry, sides, borderRadius) {
4550
4550
  const angleStep = 2 * Math.PI / sides;
4551
4551
  const startAngle = -Math.PI / 2;
@@ -4634,7 +4634,7 @@ var PolygonShape = class extends BaseShape {
4634
4634
  }
4635
4635
  };
4636
4636
  //#endregion
4637
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/polygram.js
4637
+ //#region ../web/dist/shapes/polygram.js
4638
4638
  function buildPolygramSvg(cx, cy, rx, ry, sides, ratio, borderRadius) {
4639
4639
  const totalPoints = sides * 2;
4640
4640
  const angleStep = Math.PI / sides;
@@ -4729,7 +4729,7 @@ var PolygramShape = class extends BaseShape {
4729
4729
  }
4730
4730
  };
4731
4731
  //#endregion
4732
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/path.js
4732
+ //#region ../web/dist/shapes/path.js
4733
4733
  /**
4734
4734
  * Renders an arbitrary SVG path `d`. Overrides `ensurePath` to bake a
4735
4735
  * centering translation (so the shape's local origin is its bbox center)
@@ -4792,7 +4792,7 @@ var PathShape = class extends BaseShape {
4792
4792
  }
4793
4793
  };
4794
4794
  //#endregion
4795
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/line.js
4795
+ //#region ../web/dist/shapes/line.js
4796
4796
  function buildLineSvg(points, radius, closed) {
4797
4797
  if (points.length === 0) return "M 0 0";
4798
4798
  if (points.length === 1) return `M ${points[0].x} ${points[0].y}`;
@@ -4881,7 +4881,7 @@ var LineShape = class extends BaseShape {
4881
4881
  }
4882
4882
  };
4883
4883
  //#endregion
4884
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/effect.js
4884
+ //#region ../web/dist/effects/effect.js
4885
4885
  /**
4886
4886
  * Abstract base for CanvasKit effect renderers.
4887
4887
  *
@@ -4904,7 +4904,7 @@ var CanvasKitEffect = class {
4904
4904
  dispose() {}
4905
4905
  };
4906
4906
  //#endregion
4907
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/blur.js
4907
+ //#region ../web/dist/effects/blur.js
4908
4908
  var BlurCanvasKitEffect = class extends CanvasKitEffect {
4909
4909
  constructor() {
4910
4910
  super("blur");
@@ -4915,7 +4915,7 @@ var BlurCanvasKitEffect = class extends CanvasKitEffect {
4915
4915
  }
4916
4916
  };
4917
4917
  //#endregion
4918
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/grayscale.js
4918
+ //#region ../web/dist/effects/grayscale.js
4919
4919
  var LR = .2126;
4920
4920
  var LG = .7152;
4921
4921
  var LB = .0722;
@@ -4958,7 +4958,7 @@ var GrayscaleCanvasKitEffect = class extends CanvasKitEffect {
4958
4958
  }
4959
4959
  };
4960
4960
  //#endregion
4961
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/pixelate.js
4961
+ //#region ../web/dist/effects/pixelate.js
4962
4962
  var PixelateCanvasKitEffect = class extends CanvasKitEffect {
4963
4963
  constructor() {
4964
4964
  super("pixelate");
@@ -5012,7 +5012,7 @@ var PixelateCanvasKitEffect = class extends CanvasKitEffect {
5012
5012
  }
5013
5013
  };
5014
5014
  //#endregion
5015
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/texture.js
5015
+ //#region ../web/dist/effects/texture.js
5016
5016
  var TextureCanvasKitEffect = class extends CanvasKitEffect {
5017
5017
  constructor() {
5018
5018
  super("texture");
@@ -5084,7 +5084,7 @@ var TextureCanvasKitEffect = class extends CanvasKitEffect {
5084
5084
  }
5085
5085
  };
5086
5086
  //#endregion
5087
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/bloom.js
5087
+ //#region ../web/dist/effects/bloom.js
5088
5088
  /**
5089
5089
  * Bloom glow effect. Extracts pixels above `threshold`, blurs them, then
5090
5090
  * Screen-blends that bright-pass back onto the original layer.
@@ -5169,7 +5169,7 @@ var BloomCanvasKitEffect = class extends CanvasKitEffect {
5169
5169
  }
5170
5170
  };
5171
5171
  //#endregion
5172
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/vintage.js
5172
+ //#region ../web/dist/effects/vintage.js
5173
5173
  /**
5174
5174
  * Vintage / film-look colour grading effect.
5175
5175
  *
@@ -5239,7 +5239,7 @@ var VintageCanvasKitEffect = class extends CanvasKitEffect {
5239
5239
  }
5240
5240
  };
5241
5241
  //#endregion
5242
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/chromatic-aberration.js
5242
+ //#region ../web/dist/effects/chromatic-aberration.js
5243
5243
  /**
5244
5244
  * Chromatic aberration — red/blue lens-dispersion fringing.
5245
5245
  *
@@ -5321,7 +5321,7 @@ var ChromaticAberrationCanvasKitEffect = class extends CanvasKitEffect {
5321
5321
  }
5322
5322
  };
5323
5323
  //#endregion
5324
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/sksl-cache.js
5324
+ //#region ../web/dist/effects/sksl-cache.js
5325
5325
  var cache = /* @__PURE__ */ new Map();
5326
5326
  /** Compile-and-cache a RuntimeEffect by shader source; returns the cached instance on repeat calls. */
5327
5327
  function getOrCompileSkSL(shader, ck) {
@@ -5339,7 +5339,7 @@ function disposeSkSLCache() {
5339
5339
  cache.clear();
5340
5340
  }
5341
5341
  //#endregion
5342
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/sksl-layer.js
5342
+ //#region ../web/dist/effects/sksl-layer.js
5343
5343
  /**
5344
5344
  * Layer-mode custom SkSL effect.
5345
5345
  *
@@ -5413,7 +5413,7 @@ function resolveBlendMode(ck, name) {
5413
5413
  }[name] ?? ck.BlendMode.Screen;
5414
5414
  }
5415
5415
  //#endregion
5416
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/registry.js
5416
+ //#region ../web/dist/effects/registry.js
5417
5417
  var CanvasKitEffectRegistry = class {
5418
5418
  static registry = /* @__PURE__ */ new Map();
5419
5419
  static register(effect) {
@@ -5456,7 +5456,7 @@ CanvasKitEffectRegistry.register(new VintageCanvasKitEffect());
5456
5456
  CanvasKitEffectRegistry.register(new ChromaticAberrationCanvasKitEffect());
5457
5457
  CanvasKitEffectRegistry.register(new SkSLLayerEffect());
5458
5458
  //#endregion
5459
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/bulge-pinch.js
5459
+ //#region ../web/dist/effects/bulge-pinch.js
5460
5460
  /**
5461
5461
  * Magnifier/pinch lens that *resamples the backdrop* — it reads the content
5462
5462
  * beneath the node (passed in as the `u_backdrop` child shader) at a remapped
@@ -5545,7 +5545,7 @@ function makeBulgePinchShader(effect, ck, backdrop, centerX, centerY, width, hei
5545
5545
  ], [backdrop]);
5546
5546
  }
5547
5547
  //#endregion
5548
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/effects/zoom.js
5548
+ //#region ../web/dist/effects/zoom.js
5549
5549
  /**
5550
5550
  * Magnifier lens that *resamples the backdrop* — it reads the content beneath
5551
5551
  * the node (passed in as the `u_backdrop` child shader) at a position scaled
@@ -5611,7 +5611,7 @@ function makeZoomShader(effect, ck, backdrop, centerX, centerY, width, height) {
5611
5611
  ], [backdrop]);
5612
5612
  }
5613
5613
  //#endregion
5614
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/gradient-cache.js
5614
+ //#region ../web/dist/fills/gradient-cache.js
5615
5615
  /**
5616
5616
  * Caches built gradient `Shader`s keyed on a cheap string derived from the
5617
5617
  * resolved fill plus the pixel bounds it was resolved against.
@@ -5666,7 +5666,7 @@ function pushNums(parts, nums) {
5666
5666
  for (let i = 0; i < nums.length; i++) parts.push(nums[i].toFixed(4));
5667
5667
  }
5668
5668
  //#endregion
5669
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/linear-gradient.js
5669
+ //#region ../web/dist/fills/linear-gradient.js
5670
5670
  function normToPixel$2(nx, ny, bounds) {
5671
5671
  const cx = (bounds.left + bounds.right) / 2;
5672
5672
  const cy = (bounds.top + bounds.bottom) / 2;
@@ -5706,7 +5706,7 @@ var LinearGradientFillRenderer = class extends FillRenderer {
5706
5706
  }
5707
5707
  };
5708
5708
  //#endregion
5709
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/radial-gradient.js
5709
+ //#region ../web/dist/fills/radial-gradient.js
5710
5710
  function normToPixel$1(nx, ny, bounds) {
5711
5711
  const cx = (bounds.left + bounds.right) / 2;
5712
5712
  const cy = (bounds.top + bounds.bottom) / 2;
@@ -5742,7 +5742,7 @@ var RadialGradientFillRenderer = class extends FillRenderer {
5742
5742
  }
5743
5743
  };
5744
5744
  //#endregion
5745
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/conic-gradient.js
5745
+ //#region ../web/dist/fills/conic-gradient.js
5746
5746
  function normToPixel(nx, ny, bounds) {
5747
5747
  const cx = (bounds.left + bounds.right) / 2;
5748
5748
  const cy = (bounds.top + bounds.bottom) / 2;
@@ -5785,7 +5785,7 @@ var ConicGradientFillRenderer = class extends FillRenderer {
5785
5785
  }
5786
5786
  };
5787
5787
  //#endregion
5788
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/noise.js
5788
+ //#region ../web/dist/fills/noise.js
5789
5789
  /** Cache key → CanvasKit Image holding the noise tile. */
5790
5790
  var noiseCache = /* @__PURE__ */ new Map();
5791
5791
  function buildCacheKey$1(fill, w, h) {
@@ -5870,7 +5870,7 @@ var NoiseFillRenderer = class extends FillRenderer {
5870
5870
  }
5871
5871
  };
5872
5872
  //#endregion
5873
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/stripe.js
5873
+ //#region ../web/dist/fills/stripe.js
5874
5874
  var stripeCache = /* @__PURE__ */ new Map();
5875
5875
  function buildCacheKey(fill) {
5876
5876
  const gap = fill.gap ?? 8;
@@ -5966,7 +5966,7 @@ var StripeFillRenderer = class extends FillRenderer {
5966
5966
  }
5967
5967
  };
5968
5968
  //#endregion
5969
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/solid.js
5969
+ //#region ../web/dist/fills/solid.js
5970
5970
  /** Flat-color fill — sets paint color components directly, no shader. */
5971
5971
  var SolidFillRenderer = class extends FillRenderer {
5972
5972
  applyPaint(fill, ctx) {
@@ -5976,7 +5976,7 @@ var SolidFillRenderer = class extends FillRenderer {
5976
5976
  }
5977
5977
  };
5978
5978
  //#endregion
5979
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/registry.js
5979
+ //#region ../web/dist/fills/registry.js
5980
5980
  /** Dispatches a resolved fill to its renderer by `fill.type`, keyed in `list`. */
5981
5981
  var FillRenderRegistry = class {
5982
5982
  static list = [
@@ -6022,7 +6022,7 @@ var FillRenderRegistry = class {
6022
6022
  }
6023
6023
  };
6024
6024
  //#endregion
6025
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/stroke/stroke-handler.js
6025
+ //#region ../web/dist/stroke/stroke-handler.js
6026
6026
  /**
6027
6027
  * Paints strokes and shadows over shape silhouettes. Handles the gritty parts
6028
6028
  * of vector stroking on Skia: sub-pixel-width strokes are rasterized as filled
@@ -6326,7 +6326,7 @@ var StrokeHandler = class {
6326
6326
  }
6327
6327
  };
6328
6328
  //#endregion
6329
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/text.js
6329
+ //#region ../web/dist/shapes/text.js
6330
6330
  /**
6331
6331
  * Lay out a Text node into a drawable `CurrentShape`. When `fontSize` is
6332
6332
  * "autofit", first probes an unwrapped single-line layout to derive a scale
@@ -6384,7 +6384,7 @@ function buildText(canvasKit, canvas, fontMgr, state) {
6384
6384
  };
6385
6385
  }
6386
6386
  //#endregion
6387
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/boolean.js
6387
+ //#region ../web/dist/shapes/boolean.js
6388
6388
  /**
6389
6389
  * Combines paths via CanvasKit `PathOp`s and tracks nested "path collection"
6390
6390
  * frames. A frame records each contributed path transformed into the
@@ -6474,7 +6474,7 @@ var BooleanHandler = class {
6474
6474
  }
6475
6475
  };
6476
6476
  //#endregion
6477
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/mask.js
6477
+ //#region ../web/dist/shapes/mask.js
6478
6478
  /**
6479
6479
  * Implements the three mask modes by composing canvas save/clip/blend
6480
6480
  * primitives:
@@ -6597,7 +6597,7 @@ var MaskHandler = class {
6597
6597
  }
6598
6598
  };
6599
6599
  //#endregion
6600
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/shapes/shape-handler.js
6600
+ //#region ../web/dist/shapes/shape-handler.js
6601
6601
  function shallowEqual(a, b) {
6602
6602
  const keysA = Object.keys(a);
6603
6603
  if (keysA.length !== Object.keys(b).length) return false;
@@ -6846,7 +6846,7 @@ var ShapeHandler = class {
6846
6846
  }
6847
6847
  };
6848
6848
  //#endregion
6849
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/fills/handler.js
6849
+ //#region ../web/dist/fills/handler.js
6850
6850
  /**
6851
6851
  * Stateless paint applicator. All async work (decoding images, extracting
6852
6852
  * video frames) happens in WebStorageAdapter before render. By the time
@@ -6980,7 +6980,7 @@ var FillHandler = class {
6980
6980
  }
6981
6981
  };
6982
6982
  //#endregion
6983
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/render-context.js
6983
+ //#region ../web/dist/render-context.js
6984
6984
  /**
6985
6985
  * CanvasKit/Skia implementation of {@link RenderContext} — the main render
6986
6986
  * loop driving a mounted `<canvas>` (or an offscreen one during export).
@@ -7823,7 +7823,7 @@ var WebImagePaintContext = class {
7823
7823
  }
7824
7824
  };
7825
7825
  //#endregion
7826
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/storage-adapter.js
7826
+ //#region ../web/dist/storage-adapter.js
7827
7827
  /**
7828
7828
  * Browser implementation of {@link StorageAdapter} — owns all async asset
7829
7829
  * decoding (images, video, audio, fonts) so the render loop can stay
@@ -7985,7 +7985,7 @@ var require___vite_browser_external = /* @__PURE__ */ __commonJSMin(((exports, m
7985
7985
  module.exports = {};
7986
7986
  }));
7987
7987
  //#endregion
7988
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/getter.js
7988
+ //#region ../web/dist/getter.js
7989
7989
  var import_canvaskit = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
7990
7990
  var CanvasKitInit = (() => {
7991
7991
  var _scriptName = typeof document != "undefined" ? document.currentScript?.src : void 0;
@@ -21421,7 +21421,7 @@ var Output = class extends EventEmitter {
21421
21421
  }
21422
21422
  };
21423
21423
  //#endregion
21424
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/exporter.js
21424
+ //#region ../web/dist/exporter.js
21425
21425
  var EMPTY_MANIFEST$1 = {
21426
21426
  image: {},
21427
21427
  video: {},
@@ -21589,7 +21589,7 @@ async function exportScenesAsVideo(params) {
21589
21589
  URL.revokeObjectURL(url);
21590
21590
  }
21591
21591
  //#endregion
21592
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/audio/player.js
21592
+ //#region ../web/dist/audio/player.js
21593
21593
  /**
21594
21594
  * Web Audio implementation of {@link AudioDevice} — decodes and caches source
21595
21595
  * buffers, then schedules/plays {@link AudioRequest}s as `AudioBufferSourceNode`s
@@ -21720,7 +21720,7 @@ var WebAudioDevice = class extends AudioDevice {
21720
21720
  }
21721
21721
  };
21722
21722
  //#endregion
21723
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/measure-scope.js
21723
+ //#region ../web/dist/measure-scope.js
21724
21724
  /**
21725
21725
  * {@link MeasureScope} implementation used by layout (auto/hug sizing) to
21726
21726
  * measure text width before drawing — routes through the same paragraph
@@ -21755,7 +21755,7 @@ var WebMeasureScope = class extends MeasureScope {
21755
21755
  }
21756
21756
  };
21757
21757
  //#endregion
21758
- //#region ../../node_modules/.pnpm/@motion-script+web@0.2.0_@m_44ae7fb7d5ba6b19106581c849acc2d7/node_modules/@motion-script/web/dist/master-clock.js
21758
+ //#region ../web/dist/master-clock.js
21759
21759
  /**
21760
21760
  * MasterClock backed by a Web Audio AudioContext. Scene time advances in
21761
21761
  * lock-step with `audioContext.currentTime`, so any AudioBufferSourceNodes
@@ -21871,7 +21871,7 @@ var WebMasterClock = class extends MasterClock {
21871
21871
  }
21872
21872
  };
21873
21873
  //#endregion
21874
- //#region ../../node_modules/.pnpm/@motion-script+react@0.2.0__b7366117e439017477d39c4af27dc9a7/node_modules/@motion-script/react/dist/motion-script-react.js
21874
+ //#region ../react/dist/motion-script-react.js
21875
21875
  var MotionScriptContext = createContext(null);
21876
21876
  /**
21877
21877
  * Loads CanvasKit once and shares it with descendants via context.