@pixerate/editor 0.250.0 → 0.251.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/agent/index.cjs +40 -41
  2. package/dist/agent/index.js +9 -10
  3. package/dist/animation/index.cjs +6 -7
  4. package/dist/animation/index.js +5 -6
  5. package/dist/animation-editor/index.cjs +70 -70
  6. package/dist/animation-editor/index.js +12 -12
  7. package/dist/brushes/index.cjs +1406 -0
  8. package/dist/brushes/index.d.cts +12 -0
  9. package/dist/brushes/index.d.ts +12 -0
  10. package/dist/brushes/index.js +1406 -0
  11. package/dist/brushes/migrate.d.cts +17 -0
  12. package/dist/brushes/migrate.d.ts +17 -0
  13. package/dist/brushes/normalize.d.cts +15 -0
  14. package/dist/brushes/normalize.d.ts +15 -0
  15. package/dist/brushes/presets.d.cts +12 -0
  16. package/dist/brushes/presets.d.ts +12 -0
  17. package/dist/brushes/resolve.d.cts +56 -0
  18. package/dist/brushes/resolve.d.ts +56 -0
  19. package/dist/brushes/schema.d.cts +29 -0
  20. package/dist/brushes/schema.d.ts +29 -0
  21. package/dist/brushes/types.d.cts +323 -0
  22. package/dist/brushes/types.d.ts +323 -0
  23. package/dist/{brushstrokeRender-2FHFLSEG.js → brushstrokeRender-5PYSKZIJ.js} +8 -8
  24. package/dist/{brushstrokeRender-QGRXOKDA.cjs → brushstrokeRender-7FLLSQEC.cjs} +14 -14
  25. package/dist/canvas/index.cjs +57 -58
  26. package/dist/canvas/index.js +31 -32
  27. package/dist/chart/index.cjs +159 -160
  28. package/dist/chart/index.js +9 -10
  29. package/dist/{chunk-NOHJP5TK.js → chunk-2ZJ4DT3M.js} +1 -1
  30. package/dist/{chunk-XZNU4DUX.cjs → chunk-3NS5C7FB.cjs} +76 -76
  31. package/dist/{chunk-UTI5IITZ.cjs → chunk-4ZC5QJE2.cjs} +3 -3
  32. package/dist/{chunk-SMSGP2HQ.js → chunk-5JNA6LLY.js} +1 -1
  33. package/dist/{chunk-RD7RX52G.cjs → chunk-5UEFBM2M.cjs} +207 -18
  34. package/dist/{chunk-WA44NKPF.js → chunk-62Z5WLRA.js} +1 -1
  35. package/dist/{chunk-BVRRIW7F.js → chunk-6GRUVGKU.js} +3 -3
  36. package/dist/{chunk-QARCM66V.js → chunk-6ZZKRH7R.js} +3 -3
  37. package/dist/{chunk-BP6KSGVD.js → chunk-7272D3K2.js} +4 -6
  38. package/dist/{chunk-NTRAVM2I.js → chunk-7P6VF3FG.js} +2 -2
  39. package/dist/chunk-APX63ILU.js +173 -0
  40. package/dist/{chunk-W7L4HUT2.cjs → chunk-CJ6TBL2N.cjs} +16 -16
  41. package/dist/{chunk-7PT4RJL5.cjs → chunk-EUIDTZNQ.cjs} +111 -113
  42. package/dist/{chunk-CXXXAZ7H.js → chunk-F6R67I3A.js} +1 -1
  43. package/dist/{chunk-I7NJPHWV.cjs → chunk-FQPUF2W2.cjs} +35 -606
  44. package/dist/{chunk-D5KGAO4Z.js → chunk-GCVFEPJG.js} +2 -573
  45. package/dist/{chunk-LEQKZGQI.js → chunk-GOBOCZZI.js} +1 -1
  46. package/dist/{chunk-KDLBJ6QR.js → chunk-GYMMNCFT.js} +3 -3
  47. package/dist/{chunk-NUTMINJZ.cjs → chunk-H7ET2ISK.cjs} +52 -52
  48. package/dist/chunk-HS6QDWDF.cjs +1029 -0
  49. package/dist/{chunk-T7KQEMAE.cjs → chunk-HUAISCUX.cjs} +18 -18
  50. package/dist/{chunk-YGQVCQTG.js → chunk-ILP77UD6.js} +1 -1
  51. package/dist/{chunk-S6OT6CTS.cjs → chunk-IWEVV63O.cjs} +31 -33
  52. package/dist/{chunk-M2VKFE5L.cjs → chunk-JFHBXNR2.cjs} +88 -88
  53. package/dist/{chunk-WPUXGDH4.cjs → chunk-JPEHXIB5.cjs} +10 -10
  54. package/dist/chunk-JSDND7DF.cjs +173 -0
  55. package/dist/{chunk-36ZTV7WO.js → chunk-L6Y7TSQ4.js} +1 -1
  56. package/dist/{chunk-YW43M56C.cjs → chunk-LFMKWGFL.cjs} +1 -1
  57. package/dist/{chunk-V6DT2CDH.js → chunk-M2TPMYJE.js} +1 -1
  58. package/dist/{chunk-LJZRHVZV.cjs → chunk-M5GLQQWG.cjs} +2 -2
  59. package/dist/{chunk-JEGJP4OW.js → chunk-MHLU6GRJ.js} +196 -7
  60. package/dist/{chunk-KMPM5JM5.js → chunk-MONXNVZK.js} +4 -6
  61. package/dist/chunk-MTKY6K3Q.js +1029 -0
  62. package/dist/{chunk-MOW3JMNG.cjs → chunk-N76AMOKE.cjs} +42 -42
  63. package/dist/{chunk-75K3W4D6.cjs → chunk-NKGB64CW.cjs} +16 -16
  64. package/dist/{chunk-SGPIVHJB.js → chunk-P3K2JCJA.js} +3 -3
  65. package/dist/chunk-PXDIAYB6.cjs +594 -0
  66. package/dist/{chunk-3TWOCSCY.js → chunk-QC3OXRE4.js} +9 -9
  67. package/dist/{chunk-YM6ZBTXG.cjs → chunk-QLSGTCYT.cjs} +23 -23
  68. package/dist/{chunk-7YW7T5TJ.js → chunk-RHPSE2YR.js} +2 -2
  69. package/dist/{chunk-44BMJJVA.cjs → chunk-RUONPPMC.cjs} +8 -8
  70. package/dist/{chunk-ATK6ABN3.cjs → chunk-SABJMH6M.cjs} +145 -12
  71. package/dist/{chunk-XWOLPNBW.cjs → chunk-SOSBOS5T.cjs} +22 -22
  72. package/dist/{chunk-PPFJHTW5.cjs → chunk-TFF2GTGN.cjs} +22 -24
  73. package/dist/{chunk-X7WRL5ZZ.cjs → chunk-TLOGFIIV.cjs} +37 -37
  74. package/dist/chunk-TXFWZ5ZJ.js +594 -0
  75. package/dist/{chunk-GXAK6Q5J.js → chunk-UFEDHACQ.js} +2 -2
  76. package/dist/{chunk-GA4EU4P3.cjs → chunk-UXETV2NC.cjs} +4 -4
  77. package/dist/{chunk-N4DFDI73.js → chunk-WKMUBATU.js} +1 -1
  78. package/dist/{chunk-3R5P3DVY.cjs → chunk-WRZ6C4TU.cjs} +6 -6
  79. package/dist/{chunk-U4NUOKBT.js → chunk-WZOGDKCQ.js} +134 -1
  80. package/dist/{chunk-6ADHGQ73.js → chunk-YBAPT7NL.js} +2 -4
  81. package/dist/color/index.cjs +4 -6
  82. package/dist/color/index.js +7 -9
  83. package/dist/export/index.cjs +7 -8
  84. package/dist/export/index.js +6 -7
  85. package/dist/extensions/index.cjs +10 -11
  86. package/dist/extensions/index.js +9 -10
  87. package/dist/gradient/index.cjs +33 -34
  88. package/dist/gradient/index.js +4 -5
  89. package/dist/image-editor/index.cjs +845 -844
  90. package/dist/image-editor/index.js +39 -38
  91. package/dist/index.cjs +16 -17
  92. package/dist/index.js +10 -11
  93. package/dist/paint/index.cjs +6 -4
  94. package/dist/paint/index.js +21 -19
  95. package/dist/paint-editor/brushes.d.cts +1 -2
  96. package/dist/paint-editor/brushes.d.ts +1 -2
  97. package/dist/paint-editor/index.cjs +2193 -694
  98. package/dist/paint-editor/index.js +1575 -76
  99. package/dist/paint-editor/mark-settings.d.cts +104 -0
  100. package/dist/paint-editor/mark-settings.d.ts +104 -0
  101. package/dist/paint-editor/procedural.d.cts +2 -75
  102. package/dist/paint-editor/procedural.d.ts +2 -75
  103. package/dist/paint-editor/stickers.d.cts +1 -22
  104. package/dist/paint-editor/stickers.d.ts +1 -22
  105. package/dist/raster/index.cjs +2 -2
  106. package/dist/raster/index.js +9 -9
  107. package/dist/stickers/index.cjs +10 -10
  108. package/dist/stickers/index.js +9 -9
  109. package/dist/tokens/index.cjs +3 -4
  110. package/dist/tokens/index.js +2 -3
  111. package/dist/typography/index.cjs +7 -8
  112. package/dist/typography/index.js +2 -3
  113. package/dist/vector/index.cjs +974 -974
  114. package/dist/vector/index.js +12 -12
  115. package/dist/video-editor/index.cjs +6 -7
  116. package/dist/video-editor/index.js +5 -6
  117. package/package.json +11 -1
  118. package/dist/chunk-4JNWA3VT.cjs +0 -302
  119. package/dist/chunk-7AHBW2CQ.cjs +0 -200
  120. package/dist/chunk-F67XMVDI.js +0 -200
  121. package/dist/chunk-GT77U7QG.cjs +0 -2637
  122. package/dist/chunk-OTEPAQJX.js +0 -2637
  123. package/dist/chunk-WKH5ZAUA.js +0 -302
@@ -0,0 +1,104 @@
1
+ /**
2
+ * The settings of the sticker, particle and bristle engines: types, defaults and normalisers, with
3
+ * no rendering code (sticker refs and the stamp list come from the renderer-free `stickers/`), so
4
+ * the brush model (`@pixerate/editor/brushes`) can read and check them without bundling the
5
+ * renderers. `stickers.ts` and `procedural.ts` re-export them.
6
+ */
7
+ import { type StampKind } from '../stickers/stamps.cjs';
8
+ import type { StickerRef } from '../stickers/types.cjs';
9
+ export { STAMP_KINDS, type StampKind } from '../stickers/stamps.cjs';
10
+ /** Sticker spray settings (each 0..1 unless noted). */
11
+ export interface StickerSettings {
12
+ /**
13
+ * The stickers to spray (one picked at random per sticker): refs `provider:id`. A bare editor
14
+ * stamp (`"star"`) is read as `editor:star`.
15
+ */
16
+ stamps: StickerRef[];
17
+ /** How closely stickers follow each other: about `density × 4` per tip diameter of travel (0.25 ≈ one per diameter). */
18
+ density: number;
19
+ /** Random size change. */
20
+ sizeJitter: number;
21
+ /** Random turn, as a fraction of ±180°. */
22
+ rotationJitter: number;
23
+ /** How far from the path stickers land, in tip diameters (0..2). */
24
+ scatter: number;
25
+ /** Random colour change (hue and lightness). */
26
+ colorJitter: number;
27
+ }
28
+ /** At most this many stickers in a sticker brush. */
29
+ export declare const MAX_STICKER_STAMPS = 16;
30
+ export declare const DEFAULT_STICKER: Readonly<StickerSettings>;
31
+ export declare function normalizeStickerSettings(raw?: Partial<StickerSettings>, base?: StickerSettings): StickerSettings;
32
+ export type ParticleKind = 'string' | 'spring' | 'orbit' | 'flow' | 'elastic' | 'fuzzy';
33
+ export declare const PARTICLE_KINDS: readonly ParticleKind[];
34
+ export type ParticleRender = 'dot' | 'line' | 'sequence' | 'ribbon';
35
+ export declare const PARTICLE_RENDERS: readonly ParticleRender[];
36
+ /** Ribbon: which particles' paths are joined (`adjacent`: each to its neighbour; `first-last`: one band between the outermost two). */
37
+ export type RibbonPairs = 'adjacent' | 'first-last';
38
+ export declare const RIBBON_PAIRS: readonly RibbonPairs[];
39
+ /** Textured dots: the stamps in turn, or one picked at random (seeded) per dot. */
40
+ export type DotTextureOrder = 'sequence' | 'random';
41
+ export declare const DOT_TEXTURE_ORDERS: readonly DotTextureOrder[];
42
+ /** Textured dots: turned with the particle's motion, at random, or at the tip angle. */
43
+ export type DotRotation = 'follow' | 'random' | 'fixed';
44
+ export declare const DOT_ROTATIONS: readonly DotRotation[];
45
+ /** Textured dots: at most this many stamps. */
46
+ export declare const MAX_DOT_TEXTURES = 4;
47
+ /** Particle engine settings (each 0..1 unless noted). */
48
+ export interface ParticleSettings {
49
+ kind: ParticleKind;
50
+ render: ParticleRender;
51
+ /** Particles, 1..64. */
52
+ count: number;
53
+ /** Mark size as a fraction of the tip size. */
54
+ size: number;
55
+ /** How far apart the particles start, as a fraction of the tip size. */
56
+ spread: number;
57
+ /** Spring and string stiffness (stiff follows closely; soft swings wide). */
58
+ stiffness: number;
59
+ /** How quickly motion dies down. */
60
+ damping: number;
61
+ /** Orbit and flow speed. */
62
+ speed: number;
63
+ /** Pull downwards (−1 up .. 1 down). */
64
+ gravity: number;
65
+ /** Flow particles' lifetime. */
66
+ life: number;
67
+ /** Sequence: spacing of the beads along each path. */
68
+ interval: number;
69
+ /** Ribbon: opacity of the fill between the paths, relative to their edges. */
70
+ ribbonFill: number;
71
+ /** Ribbon: which paths are joined. */
72
+ ribbonPairs: RibbonPairs;
73
+ /** Wave: how far each particle's drawn place swings sideways, as a fraction of the tip size (0: no wave). */
74
+ waveAmplitude: number;
75
+ /** Wave: wavelength in px of pen travel, 4..2000. */
76
+ waveLength: number;
77
+ /** Wave: how fast the waves run (0: they stand still on the path; 1: about four a second while the pen moves). */
78
+ waveSpeed: number;
79
+ /** Wave: how far out of step the particles' waves are (0: all in step; 1: random phases). */
80
+ wavePhaseJitter: number;
81
+ /** Dots and beads: up to four sticker stamps drawn instead of round marks (empty: round). */
82
+ dotTextures: StampKind[];
83
+ dotTextureOrder: DotTextureOrder;
84
+ dotRotation: DotRotation;
85
+ }
86
+ export declare const DEFAULT_PARTICLE: Readonly<ParticleSettings>;
87
+ export declare function normalizeParticle(raw?: Partial<ParticleSettings>, base?: ParticleSettings): ParticleSettings;
88
+ /** Bristle engine settings (each 0..1 unless noted). */
89
+ export interface BristleSettings {
90
+ /** Bristles in the tuft, 3..128. */
91
+ count: number;
92
+ /** Stiff bristles follow the tip; soft ones lag and bend into curves at turns. */
93
+ stiffness: number;
94
+ /** How far pressure spreads the tuft. */
95
+ splay: number;
96
+ /** Width of each bristle's line as a fraction of the tip size. */
97
+ thickness: number;
98
+ /** Paint per bristle: 1 never runs dry; lower, bristles run out along the stroke (dry brush). */
99
+ load: number;
100
+ /** Random variation between bristles (length, paint, position). */
101
+ jitter: number;
102
+ }
103
+ export declare const DEFAULT_BRISTLE: Readonly<BristleSettings>;
104
+ export declare function normalizeBristle(raw?: Partial<BristleSettings>, base?: BristleSettings): BristleSettings;
@@ -0,0 +1,104 @@
1
+ /**
2
+ * The settings of the sticker, particle and bristle engines: types, defaults and normalisers, with
3
+ * no rendering code (sticker refs and the stamp list come from the renderer-free `stickers/`), so
4
+ * the brush model (`@pixerate/editor/brushes`) can read and check them without bundling the
5
+ * renderers. `stickers.ts` and `procedural.ts` re-export them.
6
+ */
7
+ import { type StampKind } from '../stickers/stamps.js';
8
+ import type { StickerRef } from '../stickers/types.js';
9
+ export { STAMP_KINDS, type StampKind } from '../stickers/stamps.js';
10
+ /** Sticker spray settings (each 0..1 unless noted). */
11
+ export interface StickerSettings {
12
+ /**
13
+ * The stickers to spray (one picked at random per sticker): refs `provider:id`. A bare editor
14
+ * stamp (`"star"`) is read as `editor:star`.
15
+ */
16
+ stamps: StickerRef[];
17
+ /** How closely stickers follow each other: about `density × 4` per tip diameter of travel (0.25 ≈ one per diameter). */
18
+ density: number;
19
+ /** Random size change. */
20
+ sizeJitter: number;
21
+ /** Random turn, as a fraction of ±180°. */
22
+ rotationJitter: number;
23
+ /** How far from the path stickers land, in tip diameters (0..2). */
24
+ scatter: number;
25
+ /** Random colour change (hue and lightness). */
26
+ colorJitter: number;
27
+ }
28
+ /** At most this many stickers in a sticker brush. */
29
+ export declare const MAX_STICKER_STAMPS = 16;
30
+ export declare const DEFAULT_STICKER: Readonly<StickerSettings>;
31
+ export declare function normalizeStickerSettings(raw?: Partial<StickerSettings>, base?: StickerSettings): StickerSettings;
32
+ export type ParticleKind = 'string' | 'spring' | 'orbit' | 'flow' | 'elastic' | 'fuzzy';
33
+ export declare const PARTICLE_KINDS: readonly ParticleKind[];
34
+ export type ParticleRender = 'dot' | 'line' | 'sequence' | 'ribbon';
35
+ export declare const PARTICLE_RENDERS: readonly ParticleRender[];
36
+ /** Ribbon: which particles' paths are joined (`adjacent`: each to its neighbour; `first-last`: one band between the outermost two). */
37
+ export type RibbonPairs = 'adjacent' | 'first-last';
38
+ export declare const RIBBON_PAIRS: readonly RibbonPairs[];
39
+ /** Textured dots: the stamps in turn, or one picked at random (seeded) per dot. */
40
+ export type DotTextureOrder = 'sequence' | 'random';
41
+ export declare const DOT_TEXTURE_ORDERS: readonly DotTextureOrder[];
42
+ /** Textured dots: turned with the particle's motion, at random, or at the tip angle. */
43
+ export type DotRotation = 'follow' | 'random' | 'fixed';
44
+ export declare const DOT_ROTATIONS: readonly DotRotation[];
45
+ /** Textured dots: at most this many stamps. */
46
+ export declare const MAX_DOT_TEXTURES = 4;
47
+ /** Particle engine settings (each 0..1 unless noted). */
48
+ export interface ParticleSettings {
49
+ kind: ParticleKind;
50
+ render: ParticleRender;
51
+ /** Particles, 1..64. */
52
+ count: number;
53
+ /** Mark size as a fraction of the tip size. */
54
+ size: number;
55
+ /** How far apart the particles start, as a fraction of the tip size. */
56
+ spread: number;
57
+ /** Spring and string stiffness (stiff follows closely; soft swings wide). */
58
+ stiffness: number;
59
+ /** How quickly motion dies down. */
60
+ damping: number;
61
+ /** Orbit and flow speed. */
62
+ speed: number;
63
+ /** Pull downwards (−1 up .. 1 down). */
64
+ gravity: number;
65
+ /** Flow particles' lifetime. */
66
+ life: number;
67
+ /** Sequence: spacing of the beads along each path. */
68
+ interval: number;
69
+ /** Ribbon: opacity of the fill between the paths, relative to their edges. */
70
+ ribbonFill: number;
71
+ /** Ribbon: which paths are joined. */
72
+ ribbonPairs: RibbonPairs;
73
+ /** Wave: how far each particle's drawn place swings sideways, as a fraction of the tip size (0: no wave). */
74
+ waveAmplitude: number;
75
+ /** Wave: wavelength in px of pen travel, 4..2000. */
76
+ waveLength: number;
77
+ /** Wave: how fast the waves run (0: they stand still on the path; 1: about four a second while the pen moves). */
78
+ waveSpeed: number;
79
+ /** Wave: how far out of step the particles' waves are (0: all in step; 1: random phases). */
80
+ wavePhaseJitter: number;
81
+ /** Dots and beads: up to four sticker stamps drawn instead of round marks (empty: round). */
82
+ dotTextures: StampKind[];
83
+ dotTextureOrder: DotTextureOrder;
84
+ dotRotation: DotRotation;
85
+ }
86
+ export declare const DEFAULT_PARTICLE: Readonly<ParticleSettings>;
87
+ export declare function normalizeParticle(raw?: Partial<ParticleSettings>, base?: ParticleSettings): ParticleSettings;
88
+ /** Bristle engine settings (each 0..1 unless noted). */
89
+ export interface BristleSettings {
90
+ /** Bristles in the tuft, 3..128. */
91
+ count: number;
92
+ /** Stiff bristles follow the tip; soft ones lag and bend into curves at turns. */
93
+ stiffness: number;
94
+ /** How far pressure spreads the tuft. */
95
+ splay: number;
96
+ /** Width of each bristle's line as a fraction of the tip size. */
97
+ thickness: number;
98
+ /** Paint per bristle: 1 never runs dry; lower, bristles run out along the stroke (dry brush). */
99
+ load: number;
100
+ /** Random variation between bristles (length, paint, position). */
101
+ jitter: number;
102
+ }
103
+ export declare const DEFAULT_BRISTLE: Readonly<BristleSettings>;
104
+ export declare function normalizeBristle(raw?: Partial<BristleSettings>, base?: BristleSettings): BristleSettings;
@@ -28,7 +28,8 @@ import type { PaintBrush } from './brushes.cjs';
28
28
  import { type EffectPaintPixels } from './effect-paint.cjs';
29
29
  import { PenDabWalker, PenSmoother, type PenDab, type PenPoint, type StrokeCopy } from './engine.cjs';
30
30
  import { type PaperGrain } from './paper.cjs';
31
- import { type StampKind } from './stickers.cjs';
31
+ import type { StampKind } from './mark-settings.cjs';
32
+ export { DEFAULT_BRISTLE, DEFAULT_PARTICLE, DOT_ROTATIONS, DOT_TEXTURE_ORDERS, MAX_DOT_TEXTURES, normalizeBristle, normalizeParticle, PARTICLE_KINDS, PARTICLE_RENDERS, RIBBON_PAIRS, type BristleSettings, type DotRotation, type DotTextureOrder, type ParticleKind, type ParticleRender, type ParticleSettings, type RibbonPairs, } from './mark-settings.cjs';
32
33
  export interface ProceduralStrokeOptions {
33
34
  grain: PaperGrain | null;
34
35
  paperDepth: number;
@@ -91,62 +92,6 @@ declare abstract class MarkStroke implements CoverageStroke {
91
92
  /** Marks along a segment, spaced by a fraction of the radius. */
92
93
  protected segment(x0: number, y0: number, x1: number, y1: number, r: number, alpha: number, opacity: number, pressure: number, rects: RasterRect[]): void;
93
94
  }
94
- export type ParticleKind = 'string' | 'spring' | 'orbit' | 'flow' | 'elastic' | 'fuzzy';
95
- export declare const PARTICLE_KINDS: readonly ParticleKind[];
96
- export type ParticleRender = 'dot' | 'line' | 'sequence' | 'ribbon';
97
- export declare const PARTICLE_RENDERS: readonly ParticleRender[];
98
- /** Ribbon: which particles' paths are joined (`adjacent`: each to its neighbour; `first-last`: one band between the outermost two). */
99
- export type RibbonPairs = 'adjacent' | 'first-last';
100
- export declare const RIBBON_PAIRS: readonly RibbonPairs[];
101
- /** Textured dots: the stamps in turn, or one picked at random (seeded) per dot. */
102
- export type DotTextureOrder = 'sequence' | 'random';
103
- export declare const DOT_TEXTURE_ORDERS: readonly DotTextureOrder[];
104
- /** Textured dots: turned with the particle's motion, at random, or at the tip angle. */
105
- export type DotRotation = 'follow' | 'random' | 'fixed';
106
- export declare const DOT_ROTATIONS: readonly DotRotation[];
107
- /** Textured dots: at most this many stamps. */
108
- export declare const MAX_DOT_TEXTURES = 4;
109
- /** Particle engine settings (each 0..1 unless noted). */
110
- export interface ParticleSettings {
111
- kind: ParticleKind;
112
- render: ParticleRender;
113
- /** Particles, 1..64. */
114
- count: number;
115
- /** Mark size as a fraction of the tip size. */
116
- size: number;
117
- /** How far apart the particles start, as a fraction of the tip size. */
118
- spread: number;
119
- /** Spring and string stiffness (stiff follows closely; soft swings wide). */
120
- stiffness: number;
121
- /** How quickly motion dies down. */
122
- damping: number;
123
- /** Orbit and flow speed. */
124
- speed: number;
125
- /** Pull downwards (−1 up .. 1 down). */
126
- gravity: number;
127
- /** Flow particles' lifetime. */
128
- life: number;
129
- /** Sequence: spacing of the beads along each path. */
130
- interval: number;
131
- /** Ribbon: opacity of the fill between the paths, relative to their edges. */
132
- ribbonFill: number;
133
- /** Ribbon: which paths are joined. */
134
- ribbonPairs: RibbonPairs;
135
- /** Wave: how far each particle's drawn place swings sideways, as a fraction of the tip size (0: no wave). */
136
- waveAmplitude: number;
137
- /** Wave: wavelength in px of pen travel, 4..2000. */
138
- waveLength: number;
139
- /** Wave: how fast the waves run (0: they stand still on the path; 1: about four a second while the pen moves). */
140
- waveSpeed: number;
141
- /** Wave: how far out of step the particles' waves are (0: all in step; 1: random phases). */
142
- wavePhaseJitter: number;
143
- /** Dots and beads: up to four sticker stamps drawn instead of round marks (empty: round). */
144
- dotTextures: StampKind[];
145
- dotTextureOrder: DotTextureOrder;
146
- dotRotation: DotRotation;
147
- }
148
- export declare const DEFAULT_PARTICLE: Readonly<ParticleSettings>;
149
- export declare function normalizeParticle(raw?: Partial<ParticleSettings>, base?: ParticleSettings): ParticleSettings;
150
95
  /**
151
96
  * Adds the area polygon `pts` (x, y pairs, even-odd) covers in each pixel of `rect`, times `weight`, to `out`,
152
97
  * exactly across each of `RIBBON_SUB` sub-rows per row. Points on an edge two polygons share
@@ -189,23 +134,6 @@ export declare class ParticleStroke extends MarkStroke {
189
134
  */
190
135
  private telescope;
191
136
  }
192
- /** Bristle engine settings (each 0..1 unless noted). */
193
- export interface BristleSettings {
194
- /** Bristles in the tuft, 3..128. */
195
- count: number;
196
- /** Stiff bristles follow the tip; soft ones lag and bend into curves at turns. */
197
- stiffness: number;
198
- /** How far pressure spreads the tuft. */
199
- splay: number;
200
- /** Width of each bristle's line as a fraction of the tip size. */
201
- thickness: number;
202
- /** Paint per bristle: 1 never runs dry; lower, bristles run out along the stroke (dry brush). */
203
- load: number;
204
- /** Random variation between bristles (length, paint, position). */
205
- jitter: number;
206
- }
207
- export declare const DEFAULT_BRISTLE: Readonly<BristleSettings>;
208
- export declare function normalizeBristle(raw?: Partial<BristleSettings>, base?: BristleSettings): BristleSettings;
209
137
  /** A bristle-brush stroke: every bristle draws its own line. */
210
138
  export declare class BristleStroke extends MarkStroke {
211
139
  private readonly tufts;
@@ -213,4 +141,3 @@ export declare class BristleStroke extends MarkStroke {
213
141
  constructor(brush: PaintBrush, options: ProceduralStrokeOptions);
214
142
  protected advance(copy: number, d: PenDab, rects: RasterRect[]): void;
215
143
  }
216
- export {};
@@ -28,7 +28,8 @@ import type { PaintBrush } from './brushes.js';
28
28
  import { type EffectPaintPixels } from './effect-paint.js';
29
29
  import { PenDabWalker, PenSmoother, type PenDab, type PenPoint, type StrokeCopy } from './engine.js';
30
30
  import { type PaperGrain } from './paper.js';
31
- import { type StampKind } from './stickers.js';
31
+ import type { StampKind } from './mark-settings.js';
32
+ export { DEFAULT_BRISTLE, DEFAULT_PARTICLE, DOT_ROTATIONS, DOT_TEXTURE_ORDERS, MAX_DOT_TEXTURES, normalizeBristle, normalizeParticle, PARTICLE_KINDS, PARTICLE_RENDERS, RIBBON_PAIRS, type BristleSettings, type DotRotation, type DotTextureOrder, type ParticleKind, type ParticleRender, type ParticleSettings, type RibbonPairs, } from './mark-settings.js';
32
33
  export interface ProceduralStrokeOptions {
33
34
  grain: PaperGrain | null;
34
35
  paperDepth: number;
@@ -91,62 +92,6 @@ declare abstract class MarkStroke implements CoverageStroke {
91
92
  /** Marks along a segment, spaced by a fraction of the radius. */
92
93
  protected segment(x0: number, y0: number, x1: number, y1: number, r: number, alpha: number, opacity: number, pressure: number, rects: RasterRect[]): void;
93
94
  }
94
- export type ParticleKind = 'string' | 'spring' | 'orbit' | 'flow' | 'elastic' | 'fuzzy';
95
- export declare const PARTICLE_KINDS: readonly ParticleKind[];
96
- export type ParticleRender = 'dot' | 'line' | 'sequence' | 'ribbon';
97
- export declare const PARTICLE_RENDERS: readonly ParticleRender[];
98
- /** Ribbon: which particles' paths are joined (`adjacent`: each to its neighbour; `first-last`: one band between the outermost two). */
99
- export type RibbonPairs = 'adjacent' | 'first-last';
100
- export declare const RIBBON_PAIRS: readonly RibbonPairs[];
101
- /** Textured dots: the stamps in turn, or one picked at random (seeded) per dot. */
102
- export type DotTextureOrder = 'sequence' | 'random';
103
- export declare const DOT_TEXTURE_ORDERS: readonly DotTextureOrder[];
104
- /** Textured dots: turned with the particle's motion, at random, or at the tip angle. */
105
- export type DotRotation = 'follow' | 'random' | 'fixed';
106
- export declare const DOT_ROTATIONS: readonly DotRotation[];
107
- /** Textured dots: at most this many stamps. */
108
- export declare const MAX_DOT_TEXTURES = 4;
109
- /** Particle engine settings (each 0..1 unless noted). */
110
- export interface ParticleSettings {
111
- kind: ParticleKind;
112
- render: ParticleRender;
113
- /** Particles, 1..64. */
114
- count: number;
115
- /** Mark size as a fraction of the tip size. */
116
- size: number;
117
- /** How far apart the particles start, as a fraction of the tip size. */
118
- spread: number;
119
- /** Spring and string stiffness (stiff follows closely; soft swings wide). */
120
- stiffness: number;
121
- /** How quickly motion dies down. */
122
- damping: number;
123
- /** Orbit and flow speed. */
124
- speed: number;
125
- /** Pull downwards (−1 up .. 1 down). */
126
- gravity: number;
127
- /** Flow particles' lifetime. */
128
- life: number;
129
- /** Sequence: spacing of the beads along each path. */
130
- interval: number;
131
- /** Ribbon: opacity of the fill between the paths, relative to their edges. */
132
- ribbonFill: number;
133
- /** Ribbon: which paths are joined. */
134
- ribbonPairs: RibbonPairs;
135
- /** Wave: how far each particle's drawn place swings sideways, as a fraction of the tip size (0: no wave). */
136
- waveAmplitude: number;
137
- /** Wave: wavelength in px of pen travel, 4..2000. */
138
- waveLength: number;
139
- /** Wave: how fast the waves run (0: they stand still on the path; 1: about four a second while the pen moves). */
140
- waveSpeed: number;
141
- /** Wave: how far out of step the particles' waves are (0: all in step; 1: random phases). */
142
- wavePhaseJitter: number;
143
- /** Dots and beads: up to four sticker stamps drawn instead of round marks (empty: round). */
144
- dotTextures: StampKind[];
145
- dotTextureOrder: DotTextureOrder;
146
- dotRotation: DotRotation;
147
- }
148
- export declare const DEFAULT_PARTICLE: Readonly<ParticleSettings>;
149
- export declare function normalizeParticle(raw?: Partial<ParticleSettings>, base?: ParticleSettings): ParticleSettings;
150
95
  /**
151
96
  * Adds the area polygon `pts` (x, y pairs, even-odd) covers in each pixel of `rect`, times `weight`, to `out`,
152
97
  * exactly across each of `RIBBON_SUB` sub-rows per row. Points on an edge two polygons share
@@ -189,23 +134,6 @@ export declare class ParticleStroke extends MarkStroke {
189
134
  */
190
135
  private telescope;
191
136
  }
192
- /** Bristle engine settings (each 0..1 unless noted). */
193
- export interface BristleSettings {
194
- /** Bristles in the tuft, 3..128. */
195
- count: number;
196
- /** Stiff bristles follow the tip; soft ones lag and bend into curves at turns. */
197
- stiffness: number;
198
- /** How far pressure spreads the tuft. */
199
- splay: number;
200
- /** Width of each bristle's line as a fraction of the tip size. */
201
- thickness: number;
202
- /** Paint per bristle: 1 never runs dry; lower, bristles run out along the stroke (dry brush). */
203
- load: number;
204
- /** Random variation between bristles (length, paint, position). */
205
- jitter: number;
206
- }
207
- export declare const DEFAULT_BRISTLE: Readonly<BristleSettings>;
208
- export declare function normalizeBristle(raw?: Partial<BristleSettings>, base?: BristleSettings): BristleSettings;
209
137
  /** A bristle-brush stroke: every bristle draws its own line. */
210
138
  export declare class BristleStroke extends MarkStroke {
211
139
  private readonly tufts;
@@ -213,4 +141,3 @@ export declare class BristleStroke extends MarkStroke {
213
141
  constructor(brush: PaintBrush, options: ProceduralStrokeOptions);
214
142
  protected advance(copy: number, d: PenDab, rects: RasterRect[]): void;
215
143
  }
216
- export {};
@@ -18,6 +18,7 @@ import { type StampKind } from '../stickers/stamps.cjs';
18
18
  import type { StickerRef } from '../stickers/types.cjs';
19
19
  import { type StickerArtLookup } from './sticker-art.cjs';
20
20
  export { STAMP_KINDS, stampCoverage, type StampKind } from '../stickers/stamps.cjs';
21
+ export { DEFAULT_STICKER, MAX_STICKER_STAMPS, normalizeStickerSettings, type StickerSettings } from './mark-settings.cjs';
21
22
  import { type EffectPaintPixels } from './effect-paint.cjs';
22
23
  /** One sticker (document pixels). */
23
24
  export interface Sticker {
@@ -39,28 +40,6 @@ export interface Sticker {
39
40
  /** Texture seed. */
40
41
  seed: number;
41
42
  }
42
- /** Sticker spray settings (each 0..1 unless noted). */
43
- export interface StickerSettings {
44
- /**
45
- * The stickers to spray (one picked at random per sticker): refs `provider:id`. A bare editor
46
- * stamp (`"star"`) is read as `editor:star`.
47
- */
48
- stamps: StickerRef[];
49
- /** How closely stickers follow each other: about `density × 4` per tip diameter of travel (0.25 ≈ one per diameter). */
50
- density: number;
51
- /** Random size change. */
52
- sizeJitter: number;
53
- /** Random turn, as a fraction of ±180°. */
54
- rotationJitter: number;
55
- /** How far from the path stickers land, in tip diameters (0..2). */
56
- scatter: number;
57
- /** Random colour change (hue and lightness). */
58
- colorJitter: number;
59
- }
60
- /** At most this many stickers in a sticker brush. */
61
- export declare const MAX_STICKER_STAMPS = 16;
62
- export declare const DEFAULT_STICKER: Readonly<StickerSettings>;
63
- export declare function normalizeStickerSettings(raw?: Partial<StickerSettings>, base?: StickerSettings): StickerSettings;
64
43
  /** The pixel rectangle a sticker covers. */
65
44
  export declare function stickerRect(s: Sticker): RasterRect;
66
45
  /** The editor stamp a sticker shows, or `null` for a provider's sticker. */
@@ -18,6 +18,7 @@ import { type StampKind } from '../stickers/stamps.js';
18
18
  import type { StickerRef } from '../stickers/types.js';
19
19
  import { type StickerArtLookup } from './sticker-art.js';
20
20
  export { STAMP_KINDS, stampCoverage, type StampKind } from '../stickers/stamps.js';
21
+ export { DEFAULT_STICKER, MAX_STICKER_STAMPS, normalizeStickerSettings, type StickerSettings } from './mark-settings.js';
21
22
  import { type EffectPaintPixels } from './effect-paint.js';
22
23
  /** One sticker (document pixels). */
23
24
  export interface Sticker {
@@ -39,28 +40,6 @@ export interface Sticker {
39
40
  /** Texture seed. */
40
41
  seed: number;
41
42
  }
42
- /** Sticker spray settings (each 0..1 unless noted). */
43
- export interface StickerSettings {
44
- /**
45
- * The stickers to spray (one picked at random per sticker): refs `provider:id`. A bare editor
46
- * stamp (`"star"`) is read as `editor:star`.
47
- */
48
- stamps: StickerRef[];
49
- /** How closely stickers follow each other: about `density × 4` per tip diameter of travel (0.25 ≈ one per diameter). */
50
- density: number;
51
- /** Random size change. */
52
- sizeJitter: number;
53
- /** Random turn, as a fraction of ±180°. */
54
- rotationJitter: number;
55
- /** How far from the path stickers land, in tip diameters (0..2). */
56
- scatter: number;
57
- /** Random colour change (hue and lightness). */
58
- colorJitter: number;
59
- }
60
- /** At most this many stickers in a sticker brush. */
61
- export declare const MAX_STICKER_STAMPS = 16;
62
- export declare const DEFAULT_STICKER: Readonly<StickerSettings>;
63
- export declare function normalizeStickerSettings(raw?: Partial<StickerSettings>, base?: StickerSettings): StickerSettings;
64
43
  /** The pixel rectangle a sticker covers. */
65
44
  export declare function stickerRect(s: Sticker): RasterRect;
66
45
  /** The editor stamp a sticker shows, or `null` for a provider's sticker. */
@@ -81,6 +81,7 @@ var _chunkK6PXS6DOcjs = require('../chunk-K6PXS6DO.cjs');
81
81
 
82
82
 
83
83
 
84
+ var _chunkW5M3J7PVcjs = require('../chunk-W5M3J7PV.cjs');
84
85
 
85
86
 
86
87
 
@@ -115,7 +116,6 @@ var _chunkK6PXS6DOcjs = require('../chunk-K6PXS6DO.cjs');
115
116
 
116
117
 
117
118
 
118
- var _chunk2VX55NFMcjs = require('../chunk-2VX55NFM.cjs');
119
119
 
120
120
 
121
121
 
@@ -124,7 +124,7 @@ var _chunk2VX55NFMcjs = require('../chunk-2VX55NFM.cjs');
124
124
 
125
125
 
126
126
 
127
- var _chunkW5M3J7PVcjs = require('../chunk-W5M3J7PV.cjs');
127
+ var _chunk2VX55NFMcjs = require('../chunk-2VX55NFM.cjs');
128
128
 
129
129
 
130
130
 
@@ -73,6 +73,15 @@ import {
73
73
  DIRECT_GAUSSIAN_MAX_SIGMA,
74
74
  gaussianBlur
75
75
  } from "../chunk-ZIF4UJJ6.js";
76
+ import {
77
+ base64ToBytes,
78
+ bytesToBase64,
79
+ decodePng,
80
+ encodePng,
81
+ isPng,
82
+ parseDataUrl,
83
+ pngDataUrl
84
+ } from "../chunk-OTTT5N3K.js";
76
85
  import {
77
86
  BIT_DEPTHS,
78
87
  BLEND_MODES,
@@ -116,15 +125,6 @@ import {
116
125
  to8From32,
117
126
  writeDeepRegion
118
127
  } from "../chunk-IRSTHLQQ.js";
119
- import {
120
- base64ToBytes,
121
- bytesToBase64,
122
- decodePng,
123
- encodePng,
124
- isPng,
125
- parseDataUrl,
126
- pngDataUrl
127
- } from "../chunk-OTTT5N3K.js";
128
128
  import {
129
129
  SurfaceDraft,
130
130
  TILE,
@@ -3,13 +3,13 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkATK6ABN3cjs = require('../chunk-ATK6ABN3.cjs');
7
6
 
8
7
 
9
8
 
10
9
 
11
10
 
12
11
 
12
+ var _chunkSABJMH6Mcjs = require('../chunk-SABJMH6M.cjs');
13
13
 
14
14
 
15
15
 
@@ -25,7 +25,7 @@ var _chunkATK6ABN3cjs = require('../chunk-ATK6ABN3.cjs');
25
25
 
26
26
 
27
27
 
28
- var _chunk4JNWA3VTcjs = require('../chunk-4JNWA3VT.cjs');
28
+ var _chunkJSDND7DFcjs = require('../chunk-JSDND7DF.cjs');
29
29
 
30
30
 
31
31
  var _chunkU67EN7GGcjs = require('../chunk-U67EN7GG.cjs');
@@ -95,8 +95,8 @@ function createFakeStickerProvider(options = {}) {
95
95
  name: "Fake stickers",
96
96
  version: "1",
97
97
  capabilities: { supportsSearch: true, supportsSvg: true, supportsRaster: true, maxSize: 512 },
98
- list: (o) => _chunk4JNWA3VTcjs.stickerPage.call(void 0, summaries, o),
99
- search: (q, o) => _chunk4JNWA3VTcjs.stickerPage.call(void 0, summaries, o, q),
98
+ list: (o) => _chunkJSDND7DFcjs.stickerPage.call(void 0, summaries, o),
99
+ search: (q, o) => _chunkJSDND7DFcjs.stickerPage.call(void 0, summaries, o, q),
100
100
  describe(id) {
101
101
  const s = find(id);
102
102
  if (!s) return void 0;
@@ -126,15 +126,15 @@ function combineStickerProviders(providers, options = {}) {
126
126
  if (dup) throw new (0, _chunkU67EN7GGcjs.StickerError)("invalid_argument", `Two sticker providers have the id "${dup}"; give each a unique id.`);
127
127
  const byId = new Map(providers.map((p) => [p.id, p]));
128
128
  const owner = (ref) => {
129
- const { provider, id } = _chunk4JNWA3VTcjs.parseStickerRef.call(void 0, ref);
129
+ const { provider, id } = _chunkJSDND7DFcjs.parseStickerRef.call(void 0, ref);
130
130
  const p = byId.get(provider);
131
131
  if (!p) throw new (0, _chunkU67EN7GGcjs.StickerError)("unknown_provider", `No sticker provider "${provider}"; the providers are ${ids.join(", ") || "none"}.`);
132
132
  return { p, id };
133
133
  };
134
- const prefix = (p, s) => ({ ...s, id: _chunk4JNWA3VTcjs.stickerRefOf.call(void 0, p, s.id) });
134
+ const prefix = (p, s) => ({ ...s, id: _chunkJSDND7DFcjs.stickerRefOf.call(void 0, p, s.id) });
135
135
  const page = async (query, o = {}) => {
136
- const { after, limit = _chunk4JNWA3VTcjs.DEFAULT_STICKER_PAGE, ...filters } = o;
137
- _chunk4JNWA3VTcjs.checkStickerSearchOptions.call(void 0, { limit });
136
+ const { after, limit = _chunkJSDND7DFcjs.DEFAULT_STICKER_PAGE, ...filters } = o;
137
+ _chunkJSDND7DFcjs.checkStickerSearchOptions.call(void 0, { limit });
138
138
  let i = 0;
139
139
  let inner;
140
140
  if (after !== void 0) {
@@ -183,7 +183,7 @@ function combineStickerProviders(providers, options = {}) {
183
183
  return void 0;
184
184
  }
185
185
  const d = await o.p.describe(o.id);
186
- return d ? { ...d, id: _chunk4JNWA3VTcjs.stickerRefOf.call(void 0, o.p, d.id) } : void 0;
186
+ return d ? { ...d, id: _chunkJSDND7DFcjs.stickerRefOf.call(void 0, o.p, d.id) } : void 0;
187
187
  },
188
188
  async load(ref, o) {
189
189
  const { p, id } = owner(ref);
@@ -334,4 +334,4 @@ async function checkStickerProvider(provider, options = {}) {
334
334
 
335
335
 
336
336
 
337
- exports.DEFAULT_STICKER_PAGE = _chunk4JNWA3VTcjs.DEFAULT_STICKER_PAGE; exports.EDITOR_STICKERS_ID = _chunk4JNWA3VTcjs.EDITOR_STICKERS_ID; exports.MAX_STICKER_PAGE = _chunk4JNWA3VTcjs.MAX_STICKER_PAGE; exports.STAMP_KINDS = _chunk4JNWA3VTcjs.STAMP_KINDS; exports.StickerBrowser = _chunkATK6ABN3cjs.StickerBrowser; exports.StickerError = _chunkU67EN7GGcjs.StickerError; exports.StickersSlot = _chunk4JNWA3VTcjs.StickersSlot; exports.checkStickerProvider = checkStickerProvider; exports.checkStickerSearchOptions = _chunk4JNWA3VTcjs.checkStickerSearchOptions; exports.closestStickerRefs = _chunk4JNWA3VTcjs.closestStickerRefs; exports.combineStickerProviders = combineStickerProviders; exports.createFakeStickerProvider = createFakeStickerProvider; exports.createInsertStickerTool = _chunk4JNWA3VTcjs.createInsertStickerTool; exports.createStickerToolProvider = _chunk4JNWA3VTcjs.createStickerToolProvider; exports.createStickerTools = _chunk4JNWA3VTcjs.createStickerTools; exports.describeStickerRef = _chunk4JNWA3VTcjs.describeStickerRef; exports.editorStampOf = _chunk4JNWA3VTcjs.editorStampOf; exports.editorStickers = _chunkATK6ABN3cjs.editorStickers; exports.insertSticker = _chunk4JNWA3VTcjs.insertSticker; exports.normalizeStickerRef = _chunk4JNWA3VTcjs.normalizeStickerRef; exports.parseStickerRef = _chunk4JNWA3VTcjs.parseStickerRef; exports.stampCoverage = _chunk4JNWA3VTcjs.stampCoverage; exports.stampOutline = _chunkATK6ABN3cjs.stampOutline; exports.stampPixels = _chunkATK6ABN3cjs.stampPixels; exports.stickerForAgent = _chunk4JNWA3VTcjs.stickerForAgent; exports.stickerIdFor = _chunk4JNWA3VTcjs.stickerIdFor; exports.stickerPage = _chunk4JNWA3VTcjs.stickerPage; exports.stickerRefOf = _chunk4JNWA3VTcjs.stickerRefOf;
337
+ exports.DEFAULT_STICKER_PAGE = _chunkJSDND7DFcjs.DEFAULT_STICKER_PAGE; exports.EDITOR_STICKERS_ID = _chunkJSDND7DFcjs.EDITOR_STICKERS_ID; exports.MAX_STICKER_PAGE = _chunkJSDND7DFcjs.MAX_STICKER_PAGE; exports.STAMP_KINDS = _chunkJSDND7DFcjs.STAMP_KINDS; exports.StickerBrowser = _chunkSABJMH6Mcjs.StickerBrowser; exports.StickerError = _chunkU67EN7GGcjs.StickerError; exports.StickersSlot = _chunkJSDND7DFcjs.StickersSlot; exports.checkStickerProvider = checkStickerProvider; exports.checkStickerSearchOptions = _chunkJSDND7DFcjs.checkStickerSearchOptions; exports.closestStickerRefs = _chunkJSDND7DFcjs.closestStickerRefs; exports.combineStickerProviders = combineStickerProviders; exports.createFakeStickerProvider = createFakeStickerProvider; exports.createInsertStickerTool = _chunkSABJMH6Mcjs.createInsertStickerTool; exports.createStickerToolProvider = _chunkSABJMH6Mcjs.createStickerToolProvider; exports.createStickerTools = _chunkSABJMH6Mcjs.createStickerTools; exports.describeStickerRef = _chunkSABJMH6Mcjs.describeStickerRef; exports.editorStampOf = _chunkJSDND7DFcjs.editorStampOf; exports.editorStickers = _chunkSABJMH6Mcjs.editorStickers; exports.insertSticker = _chunkSABJMH6Mcjs.insertSticker; exports.normalizeStickerRef = _chunkJSDND7DFcjs.normalizeStickerRef; exports.parseStickerRef = _chunkJSDND7DFcjs.parseStickerRef; exports.stampCoverage = _chunkJSDND7DFcjs.stampCoverage; exports.stampOutline = _chunkSABJMH6Mcjs.stampOutline; exports.stampPixels = _chunkSABJMH6Mcjs.stampPixels; exports.stickerForAgent = _chunkSABJMH6Mcjs.stickerForAgent; exports.stickerIdFor = _chunkJSDND7DFcjs.stickerIdFor; exports.stickerPage = _chunkJSDND7DFcjs.stickerPage; exports.stickerRefOf = _chunkJSDND7DFcjs.stickerRefOf;
@@ -1,9 +1,15 @@
1
1
  import {
2
2
  StickerBrowser,
3
+ createInsertStickerTool,
4
+ createStickerToolProvider,
5
+ createStickerTools,
6
+ describeStickerRef,
3
7
  editorStickers,
8
+ insertSticker,
4
9
  stampOutline,
5
- stampPixels
6
- } from "../chunk-U4NUOKBT.js";
10
+ stampPixels,
11
+ stickerForAgent
12
+ } from "../chunk-WZOGDKCQ.js";
7
13
  import {
8
14
  DEFAULT_STICKER_PAGE,
9
15
  EDITOR_STICKERS_ID,
@@ -12,20 +18,14 @@ import {
12
18
  StickersSlot,
13
19
  checkStickerSearchOptions,
14
20
  closestStickerRefs,
15
- createInsertStickerTool,
16
- createStickerToolProvider,
17
- createStickerTools,
18
- describeStickerRef,
19
21
  editorStampOf,
20
- insertSticker,
21
22
  normalizeStickerRef,
22
23
  parseStickerRef,
23
24
  stampCoverage,
24
- stickerForAgent,
25
25
  stickerIdFor,
26
26
  stickerPage,
27
27
  stickerRefOf
28
- } from "../chunk-WKH5ZAUA.js";
28
+ } from "../chunk-APX63ILU.js";
29
29
  import {
30
30
  StickerError
31
31
  } from "../chunk-SZTI6EER.js";