@dust-tt/sparkle 0.5.3 → 0.5.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.
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +3 -3
- package/dist/esm/components/markdown/Markdown.d.ts.map +1 -1
- package/dist/esm/components/markdown/Markdown.js +3 -3
- package/dist/esm/components/markdown/Markdown.js.map +1 -1
- package/dist/esm/components/markdown/utils.d.ts +2 -0
- package/dist/esm/components/markdown/utils.d.ts.map +1 -1
- package/dist/esm/components/markdown/utils.js +2 -0
- package/dist/esm/components/markdown/utils.js.map +1 -1
- package/dist/esm/lottie/collapseBar.d.ts +21 -21
- package/dist/esm/lottie/dragArea.d.ts +23 -23
- package/dist/esm/lottie/spinnerColor.d.ts +64 -64
- package/dist/esm/lottie/spinnerColorXS.d.ts +11 -11
- package/dist/esm/lottie/spinnerDark.d.ts +73 -73
- package/dist/esm/lottie/spinnerDarkLG.d.ts +134 -134
- package/dist/esm/lottie/spinnerLight.d.ts +74 -74
- package/dist/esm/lottie/spinnerLightLG.d.ts +141 -141
- package/dist/esm/lottie/spinnerLightXS.d.ts +38 -38
- package/package.json +1 -1
- package/src/components/markdown/Markdown.tsx +2 -3
- package/src/components/markdown/utils.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../../src/components/markdown/Markdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../../src/components/markdown/Markdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AA2BvE,eAAO,MAAM,qBAAqB;;;;;;;CAOjC,CAAC;AAmBF,wBAAgB,QAAQ,CAAC,EACvB,OAAO,EACP,WAAmB,EACnB,SAA4D,EAC5D,cAAc,EACd,aAAqB,EACrB,cAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,EACzB,aAAoB,EACrB,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,yBAAyB,CAAC,EAAE,aAAa,CAAC;IAC1C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,qBAsMA"}
|
|
@@ -15,7 +15,7 @@ import { ParagraphBlock } from "../../components/markdown/ParagraphBlock";
|
|
|
15
15
|
import { PreBlock } from "../../components/markdown/PreBlock";
|
|
16
16
|
import { safeRehypeKatex } from "../../components/markdown/safeRehypeKatex";
|
|
17
17
|
import { TableBlock, TableBodyBlock, TableDataBlock, TableHeadBlock, TableHeaderBlock, } from "../../components/markdown/TableBlock";
|
|
18
|
-
import {
|
|
18
|
+
import { preserveLineBreaks, sanitizeContent, } from "../../components/markdown/utils";
|
|
19
19
|
import { cn } from "../../lib/utils";
|
|
20
20
|
export const markdownHeaderClasses = {
|
|
21
21
|
h1: "s-heading-2xl",
|
|
@@ -43,7 +43,7 @@ export function Markdown({ content, isStreaming = false, textColor = "s-text-for
|
|
|
43
43
|
if (compactSpacing) {
|
|
44
44
|
sanitized = preserveLineBreaks(sanitized);
|
|
45
45
|
}
|
|
46
|
-
return
|
|
46
|
+
return sanitized;
|
|
47
47
|
}, [content, compactSpacing]);
|
|
48
48
|
// Note on re-renderings. A lot of effort has been put into preventing rerendering across markdown
|
|
49
49
|
// AST parsing rounds (happening at each token being streamed).
|
|
@@ -65,7 +65,7 @@ export function Markdown({ content, isStreaming = false, textColor = "s-text-for
|
|
|
65
65
|
const markdownPlugins = useMemo(() => [
|
|
66
66
|
remarkDirective,
|
|
67
67
|
remarkGfm,
|
|
68
|
-
[remarkMath, { singleDollarTextMath:
|
|
68
|
+
[remarkMath, { singleDollarTextMath: false }],
|
|
69
69
|
...(additionalMarkdownPlugins || []),
|
|
70
70
|
showUnsupportedDirective,
|
|
71
71
|
], [additionalMarkdownPlugins]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.js","sourceRoot":"","sources":["../../../../src/components/markdown/Markdown.tsx"],"names":[],"mappings":";AAAA,uDAAuD;AACvD,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,aAAa,MAAM,gBAAgB,CAAC;AAG3C,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAC/C,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,2DAA2D,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAA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,MAAM,mBAAmB,GAAG,CAAC,SAAkB,EAAE,EAAE,CAAC;QAClD,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG;YACT,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE;SACV,CAAC,CAAC;IAAA,CAC3C,CAAC;IAEF,OAAO,CACL,6BAAK,SAAS,EAAC,8BAA8B;QAC3C,oBAAC,QAAQ,IACP,GAAG,EAAE,QAAwC,EAC7C,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,qBAAqB,EAC/B,eAAe,EAAE,mBAAmB,GACpC,CACE,CACP,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,8 @@ export declare function preserveLineBreaks(content: string): string;
|
|
|
9
9
|
* Preprocesses content to escape dollar signs that are likely NOT inlione LaTeX math. This helps
|
|
10
10
|
* prevent false positives when enabling single $ math rendering.
|
|
11
11
|
*
|
|
12
|
+
* Currrently not used as this was causing issues. See https://github.com/dust-tt/tasks/issues/5739
|
|
13
|
+
*
|
|
12
14
|
* Patterns that are escaped:
|
|
13
15
|
* 1. Solo dollar signs: `$` (not part of a pair)
|
|
14
16
|
* 1. Currency amounts: $100, $5.99, $1,000, $50k, $2.5M, $1 billion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/markdown/utils.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAgCnD;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,OAMvD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI1D;AAED
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/markdown/utils.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAgCnD;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,OAMvD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI1D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CA6B7D"}
|
|
@@ -52,6 +52,8 @@ export function preserveLineBreaks(content) {
|
|
|
52
52
|
* Preprocesses content to escape dollar signs that are likely NOT inlione LaTeX math. This helps
|
|
53
53
|
* prevent false positives when enabling single $ math rendering.
|
|
54
54
|
*
|
|
55
|
+
* Currrently not used as this was causing issues. See https://github.com/dust-tt/tasks/issues/5739
|
|
56
|
+
*
|
|
55
57
|
* Patterns that are escaped:
|
|
56
58
|
* 1. Solo dollar signs: `$` (not part of a pair)
|
|
57
59
|
* 1. Currency amounts: $100, $5.99, $1,000, $50k, $2.5M, $1 billion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/components/markdown/utils.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,GAAW,EAAU;IACnD,2FAA2F;IAC3F,4BAA4B;IAE5B,0EAA0E;IAC1E,MAAM,KAAK,GAAG,WAAW,CAAC;IAC1B,IAAI,eAAe,GAAG,CAAC,CAAC;IACxB,IAAI,eAAe,GAAG,CAAC,CAAC;IAExB,2DAA2D;IAC3D,IAAI,KAAK,CAAC;IACV,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;QAC1C,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;YACvB,eAAe,EAAE,CAAC;QACpB,CAAC;aAAM,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YAC5B,eAAe,EAAE,C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49
49
|
ty: string;
|
|
50
50
|
it: ({
|
|
51
|
-
o?: undefined;
|
|
52
|
-
c?: undefined;
|
|
53
|
-
bm?: undefined;
|
|
54
|
-
p?: undefined;
|
|
55
|
-
a?: undefined;
|
|
56
|
-
s?: undefined;
|
|
57
|
-
sk?: undefined;
|
|
58
|
-
sa?: undefined;
|
|
59
|
-
r?: undefined;
|
|
60
|
-
w?: undefined;
|
|
61
|
-
lc?: undefined;
|
|
62
|
-
lj?: undefined;
|
|
63
|
-
ml?: undefined;
|
|
64
51
|
ind: number;
|
|
65
52
|
ty: string;
|
|
66
53
|
ix: number;
|
|
@@ -95,18 +82,25 @@ declare const animation: {
|
|
|
95
82
|
})[];
|
|
96
83
|
ix: number;
|
|
97
84
|
};
|
|
85
|
+
o?: undefined;
|
|
98
86
|
nm: string;
|
|
99
87
|
mn: string;
|
|
100
88
|
hd: boolean;
|
|
101
|
-
|
|
89
|
+
c?: undefined;
|
|
90
|
+
w?: undefined;
|
|
91
|
+
lc?: undefined;
|
|
92
|
+
lj?: undefined;
|
|
93
|
+
ml?: undefined;
|
|
94
|
+
bm?: undefined;
|
|
102
95
|
p?: undefined;
|
|
103
96
|
a?: undefined;
|
|
104
97
|
s?: undefined;
|
|
98
|
+
r?: undefined;
|
|
105
99
|
sk?: undefined;
|
|
106
100
|
sa?: undefined;
|
|
107
|
-
|
|
108
|
-
r?: undefined;
|
|
101
|
+
} | {
|
|
109
102
|
ind?: undefined;
|
|
103
|
+
ix?: undefined;
|
|
110
104
|
ks?: undefined;
|
|
111
105
|
ty: string;
|
|
112
106
|
c: {
|
|
@@ -131,18 +125,24 @@ declare const animation: {
|
|
|
131
125
|
nm: string;
|
|
132
126
|
mn: string;
|
|
133
127
|
hd: boolean;
|
|
128
|
+
p?: undefined;
|
|
129
|
+
a?: undefined;
|
|
130
|
+
s?: undefined;
|
|
131
|
+
r?: undefined;
|
|
132
|
+
sk?: undefined;
|
|
133
|
+
sa?: undefined;
|
|
134
134
|
} | {
|
|
135
|
-
c?: undefined;
|
|
136
|
-
bm?: undefined;
|
|
137
|
-
mn?: undefined;
|
|
138
|
-
hd?: undefined;
|
|
139
|
-
ix?: undefined;
|
|
140
135
|
ind?: undefined;
|
|
136
|
+
ix?: undefined;
|
|
141
137
|
ks?: undefined;
|
|
138
|
+
c?: undefined;
|
|
142
139
|
w?: undefined;
|
|
143
140
|
lc?: undefined;
|
|
144
141
|
lj?: undefined;
|
|
145
142
|
ml?: undefined;
|
|
143
|
+
bm?: undefined;
|
|
144
|
+
mn?: undefined;
|
|
145
|
+
hd?: undefined;
|
|
146
146
|
ty: string;
|
|
147
147
|
p: {
|
|
148
148
|
a: number;
|
|
@@ -85,14 +85,6 @@ declare const animation: {
|
|
|
85
85
|
ty: string;
|
|
86
86
|
it: ({
|
|
87
87
|
o?: undefined;
|
|
88
|
-
c?: undefined;
|
|
89
|
-
r?: undefined;
|
|
90
|
-
bm?: undefined;
|
|
91
|
-
p?: undefined;
|
|
92
|
-
a?: undefined;
|
|
93
|
-
s?: undefined;
|
|
94
|
-
sk?: undefined;
|
|
95
|
-
sa?: undefined;
|
|
96
88
|
ind: number;
|
|
97
89
|
ty: string;
|
|
98
90
|
ix: number;
|
|
@@ -109,15 +101,18 @@ declare const animation: {
|
|
|
109
101
|
nm: string;
|
|
110
102
|
mn: string;
|
|
111
103
|
hd: boolean;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
ix?: undefined;
|
|
115
|
-
ks?: undefined;
|
|
104
|
+
c?: undefined;
|
|
105
|
+
bm?: undefined;
|
|
116
106
|
p?: undefined;
|
|
117
107
|
a?: undefined;
|
|
118
108
|
s?: undefined;
|
|
109
|
+
r?: undefined;
|
|
119
110
|
sk?: undefined;
|
|
120
111
|
sa?: undefined;
|
|
112
|
+
} | {
|
|
113
|
+
ind?: undefined;
|
|
114
|
+
ix?: undefined;
|
|
115
|
+
ks?: undefined;
|
|
121
116
|
ty: string;
|
|
122
117
|
c: {
|
|
123
118
|
a: number;
|
|
@@ -134,6 +129,11 @@ declare const animation: {
|
|
|
134
129
|
nm: string;
|
|
135
130
|
mn: string;
|
|
136
131
|
hd: boolean;
|
|
132
|
+
p?: undefined;
|
|
133
|
+
a?: undefined;
|
|
134
|
+
s?: undefined;
|
|
135
|
+
sk?: undefined;
|
|
136
|
+
sa?: undefined;
|
|
137
137
|
} | {
|
|
138
138
|
ind?: undefined;
|
|
139
139
|
ix?: undefined;
|
|
@@ -311,12 +311,12 @@ declare const animation: {
|
|
|
311
311
|
mn: string;
|
|
312
312
|
hd: boolean;
|
|
313
313
|
} | {
|
|
314
|
-
d?: undefined;
|
|
315
314
|
p?: undefined;
|
|
316
315
|
a?: undefined;
|
|
317
316
|
s?: undefined;
|
|
318
317
|
sk?: undefined;
|
|
319
318
|
sa?: undefined;
|
|
319
|
+
d?: undefined;
|
|
320
320
|
ty: string;
|
|
321
321
|
c: {
|
|
322
322
|
a: number;
|
|
@@ -336,9 +336,9 @@ declare const animation: {
|
|
|
336
336
|
} | {
|
|
337
337
|
c?: undefined;
|
|
338
338
|
bm?: undefined;
|
|
339
|
-
d?: undefined;
|
|
340
339
|
mn?: undefined;
|
|
341
340
|
hd?: undefined;
|
|
341
|
+
d?: undefined;
|
|
342
342
|
ty: string;
|
|
343
343
|
p: {
|
|
344
344
|
a: number;
|
|
@@ -492,12 +492,12 @@ declare const animation: {
|
|
|
492
492
|
mn: string;
|
|
493
493
|
hd: boolean;
|
|
494
494
|
} | {
|
|
495
|
-
d?: undefined;
|
|
496
495
|
p?: undefined;
|
|
497
496
|
a?: undefined;
|
|
498
497
|
s?: undefined;
|
|
499
498
|
sk?: undefined;
|
|
500
499
|
sa?: undefined;
|
|
500
|
+
d?: undefined;
|
|
501
501
|
ty: string;
|
|
502
502
|
c: {
|
|
503
503
|
a: number;
|
|
@@ -517,9 +517,9 @@ declare const animation: {
|
|
|
517
517
|
} | {
|
|
518
518
|
c?: undefined;
|
|
519
519
|
bm?: undefined;
|
|
520
|
-
d?: undefined;
|
|
521
520
|
mn?: undefined;
|
|
522
521
|
hd?: undefined;
|
|
522
|
+
d?: undefined;
|
|
523
523
|
ty: string;
|
|
524
524
|
p: {
|
|
525
525
|
a: number;
|
|
@@ -719,12 +719,12 @@ declare const animation: {
|
|
|
719
719
|
hd: boolean;
|
|
720
720
|
} | {
|
|
721
721
|
ix?: undefined;
|
|
722
|
-
d?: undefined;
|
|
723
722
|
p?: undefined;
|
|
724
723
|
a?: undefined;
|
|
725
724
|
s?: undefined;
|
|
726
725
|
sk?: undefined;
|
|
727
726
|
sa?: undefined;
|
|
727
|
+
d?: undefined;
|
|
728
728
|
sy?: undefined;
|
|
729
729
|
pt?: undefined;
|
|
730
730
|
or?: undefined;
|
|
@@ -749,9 +749,9 @@ declare const animation: {
|
|
|
749
749
|
ix?: undefined;
|
|
750
750
|
c?: undefined;
|
|
751
751
|
bm?: undefined;
|
|
752
|
-
d?: undefined;
|
|
753
752
|
mn?: undefined;
|
|
754
753
|
hd?: undefined;
|
|
754
|
+
d?: undefined;
|
|
755
755
|
sy?: undefined;
|
|
756
756
|
pt?: undefined;
|
|
757
757
|
or?: undefined;
|
|
@@ -864,9 +864,9 @@ declare const animation: {
|
|
|
864
864
|
it: ({
|
|
865
865
|
o?: undefined;
|
|
866
866
|
c?: undefined;
|
|
867
|
-
r?: undefined;
|
|
868
867
|
bm?: undefined;
|
|
869
868
|
a?: undefined;
|
|
869
|
+
r?: undefined;
|
|
870
870
|
sk?: undefined;
|
|
871
871
|
sa?: undefined;
|
|
872
872
|
d: number;
|
|
@@ -905,13 +905,13 @@ declare const animation: {
|
|
|
905
905
|
lj?: undefined;
|
|
906
906
|
ml?: undefined;
|
|
907
907
|
} | {
|
|
908
|
-
r?: undefined;
|
|
909
|
-
d?: undefined;
|
|
910
908
|
p?: undefined;
|
|
911
909
|
a?: undefined;
|
|
912
910
|
s?: undefined;
|
|
911
|
+
r?: undefined;
|
|
913
912
|
sk?: undefined;
|
|
914
913
|
sa?: undefined;
|
|
914
|
+
d?: undefined;
|
|
915
915
|
ty: string;
|
|
916
916
|
c: {
|
|
917
917
|
a: number;
|
|
@@ -936,12 +936,12 @@ declare const animation: {
|
|
|
936
936
|
mn: string;
|
|
937
937
|
hd: boolean;
|
|
938
938
|
} | {
|
|
939
|
-
d?: undefined;
|
|
940
939
|
p?: undefined;
|
|
941
940
|
a?: undefined;
|
|
942
941
|
s?: undefined;
|
|
943
942
|
sk?: undefined;
|
|
944
943
|
sa?: undefined;
|
|
944
|
+
d?: undefined;
|
|
945
945
|
w?: undefined;
|
|
946
946
|
lc?: undefined;
|
|
947
947
|
lj?: undefined;
|
|
@@ -965,9 +965,9 @@ declare const animation: {
|
|
|
965
965
|
} | {
|
|
966
966
|
c?: undefined;
|
|
967
967
|
bm?: undefined;
|
|
968
|
-
d?: undefined;
|
|
969
968
|
mn?: undefined;
|
|
970
969
|
hd?: undefined;
|
|
970
|
+
d?: undefined;
|
|
971
971
|
w?: undefined;
|
|
972
972
|
lc?: undefined;
|
|
973
973
|
lj?: undefined;
|
|
@@ -51,10 +51,10 @@ declare const animation: {
|
|
|
51
51
|
t: number;
|
|
52
52
|
s: number[];
|
|
53
53
|
} | {
|
|
54
|
-
i?: undefined;
|
|
55
|
-
o?: undefined;
|
|
56
54
|
t: number;
|
|
57
55
|
s: number[];
|
|
56
|
+
i?: undefined;
|
|
57
|
+
o?: undefined;
|
|
58
58
|
})[];
|
|
59
59
|
ix: number;
|
|
60
60
|
l: number;
|
|
@@ -64,7 +64,6 @@ declare const animation: {
|
|
|
64
64
|
shapes: {
|
|
65
65
|
ty: string;
|
|
66
66
|
it: ({
|
|
67
|
-
o?: undefined;
|
|
68
67
|
ty: string;
|
|
69
68
|
d: number;
|
|
70
69
|
s: {
|
|
@@ -91,16 +90,17 @@ declare const animation: {
|
|
|
91
90
|
t: number;
|
|
92
91
|
s: number[];
|
|
93
92
|
} | {
|
|
94
|
-
i?: undefined;
|
|
95
|
-
o?: undefined;
|
|
96
93
|
t: number;
|
|
97
94
|
s: number[];
|
|
95
|
+
i?: undefined;
|
|
96
|
+
o?: undefined;
|
|
98
97
|
})[];
|
|
99
98
|
ix: number;
|
|
100
99
|
};
|
|
101
100
|
nm: string;
|
|
102
101
|
mn: string;
|
|
103
102
|
hd: boolean;
|
|
103
|
+
o?: undefined;
|
|
104
104
|
c?: undefined;
|
|
105
105
|
bm?: undefined;
|
|
106
106
|
a?: undefined;
|
|
@@ -123,10 +123,10 @@ declare const animation: {
|
|
|
123
123
|
t: number;
|
|
124
124
|
s: number[];
|
|
125
125
|
} | {
|
|
126
|
-
i?: undefined;
|
|
127
|
-
o?: undefined;
|
|
128
126
|
t: number;
|
|
129
127
|
s: number[];
|
|
128
|
+
i?: undefined;
|
|
129
|
+
o?: undefined;
|
|
130
130
|
})[];
|
|
131
131
|
ix: number;
|
|
132
132
|
};
|
|
@@ -147,10 +147,6 @@ declare const animation: {
|
|
|
147
147
|
sa?: undefined;
|
|
148
148
|
} | {
|
|
149
149
|
d?: undefined;
|
|
150
|
-
c?: undefined;
|
|
151
|
-
bm?: undefined;
|
|
152
|
-
mn?: undefined;
|
|
153
|
-
hd?: undefined;
|
|
154
150
|
ty: string;
|
|
155
151
|
p: {
|
|
156
152
|
a: number;
|
|
@@ -188,6 +184,10 @@ declare const animation: {
|
|
|
188
184
|
ix: number;
|
|
189
185
|
};
|
|
190
186
|
nm: string;
|
|
187
|
+
c?: undefined;
|
|
188
|
+
bm?: undefined;
|
|
189
|
+
mn?: undefined;
|
|
190
|
+
hd?: undefined;
|
|
191
191
|
})[];
|
|
192
192
|
nm: string;
|
|
193
193
|
np: number;
|
|
@@ -227,10 +227,10 @@ declare const animation: {
|
|
|
227
227
|
t: number;
|
|
228
228
|
s: number[];
|
|
229
229
|
} | {
|
|
230
|
-
i?: undefined;
|
|
231
|
-
o?: undefined;
|
|
232
230
|
t: number;
|
|
233
231
|
s: number[];
|
|
232
|
+
i?: undefined;
|
|
233
|
+
o?: undefined;
|
|
234
234
|
})[];
|
|
235
235
|
ix: number;
|
|
236
236
|
};
|
|
@@ -257,13 +257,6 @@ declare const animation: {
|
|
|
257
257
|
shapes: {
|
|
258
258
|
ty: string;
|
|
259
259
|
it: ({
|
|
260
|
-
o?: undefined;
|
|
261
|
-
c?: undefined;
|
|
262
|
-
bm?: undefined;
|
|
263
|
-
a?: undefined;
|
|
264
|
-
s?: undefined;
|
|
265
|
-
sk?: undefined;
|
|
266
|
-
sa?: undefined;
|
|
267
260
|
ty: string;
|
|
268
261
|
sy: number;
|
|
269
262
|
d: number;
|
|
@@ -296,18 +289,19 @@ declare const animation: {
|
|
|
296
289
|
nm: string;
|
|
297
290
|
mn: string;
|
|
298
291
|
hd: boolean;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
292
|
+
o?: undefined;
|
|
293
|
+
c?: undefined;
|
|
294
|
+
bm?: undefined;
|
|
302
295
|
a?: undefined;
|
|
303
296
|
s?: undefined;
|
|
304
297
|
sk?: undefined;
|
|
305
298
|
sa?: undefined;
|
|
299
|
+
} | {
|
|
300
|
+
d?: undefined;
|
|
306
301
|
sy?: undefined;
|
|
307
302
|
pt?: undefined;
|
|
308
303
|
or?: undefined;
|
|
309
304
|
os?: undefined;
|
|
310
|
-
ix?: undefined;
|
|
311
305
|
ty: string;
|
|
312
306
|
c: {
|
|
313
307
|
a: number;
|
|
@@ -324,17 +318,18 @@ declare const animation: {
|
|
|
324
318
|
nm: string;
|
|
325
319
|
mn: string;
|
|
326
320
|
hd: boolean;
|
|
321
|
+
ix?: undefined;
|
|
322
|
+
p?: undefined;
|
|
323
|
+
a?: undefined;
|
|
324
|
+
s?: undefined;
|
|
325
|
+
sk?: undefined;
|
|
326
|
+
sa?: undefined;
|
|
327
327
|
} | {
|
|
328
328
|
d?: undefined;
|
|
329
|
-
c?: undefined;
|
|
330
|
-
bm?: undefined;
|
|
331
|
-
mn?: undefined;
|
|
332
|
-
hd?: undefined;
|
|
333
329
|
sy?: undefined;
|
|
334
330
|
pt?: undefined;
|
|
335
331
|
or?: undefined;
|
|
336
332
|
os?: undefined;
|
|
337
|
-
ix?: undefined;
|
|
338
333
|
ty: string;
|
|
339
334
|
p: {
|
|
340
335
|
a: number;
|
|
@@ -372,6 +367,11 @@ declare const animation: {
|
|
|
372
367
|
ix: number;
|
|
373
368
|
};
|
|
374
369
|
nm: string;
|
|
370
|
+
ix?: undefined;
|
|
371
|
+
c?: undefined;
|
|
372
|
+
bm?: undefined;
|
|
373
|
+
mn?: undefined;
|
|
374
|
+
hd?: undefined;
|
|
375
375
|
})[];
|
|
376
376
|
nm: string;
|
|
377
377
|
np: number;
|
|
@@ -418,12 +418,12 @@ declare const animation: {
|
|
|
418
418
|
to: number[];
|
|
419
419
|
ti: number[];
|
|
420
420
|
} | {
|
|
421
|
-
i?: undefined;
|
|
422
|
-
o?: undefined;
|
|
423
421
|
to?: undefined;
|
|
424
422
|
ti?: undefined;
|
|
425
423
|
t: number;
|
|
426
424
|
s: number[];
|
|
425
|
+
i?: undefined;
|
|
426
|
+
o?: undefined;
|
|
427
427
|
})[];
|
|
428
428
|
ix: number;
|
|
429
429
|
l: number;
|
|
@@ -445,12 +445,6 @@ declare const animation: {
|
|
|
445
445
|
shapes: {
|
|
446
446
|
ty: string;
|
|
447
447
|
it: ({
|
|
448
|
-
o?: undefined;
|
|
449
|
-
c?: undefined;
|
|
450
|
-
bm?: undefined;
|
|
451
|
-
a?: undefined;
|
|
452
|
-
sk?: undefined;
|
|
453
|
-
sa?: undefined;
|
|
454
448
|
d: number;
|
|
455
449
|
ty: string;
|
|
456
450
|
s: {
|
|
@@ -466,14 +460,15 @@ declare const animation: {
|
|
|
466
460
|
nm: string;
|
|
467
461
|
mn: string;
|
|
468
462
|
hd: boolean;
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
p?: undefined;
|
|
463
|
+
o?: undefined;
|
|
464
|
+
c?: undefined;
|
|
465
|
+
bm?: undefined;
|
|
473
466
|
a?: undefined;
|
|
474
|
-
|
|
467
|
+
r?: undefined;
|
|
475
468
|
sk?: undefined;
|
|
476
469
|
sa?: undefined;
|
|
470
|
+
} | {
|
|
471
|
+
d?: undefined;
|
|
477
472
|
ty: string;
|
|
478
473
|
c: {
|
|
479
474
|
a: number;
|
|
@@ -490,12 +485,13 @@ declare const animation: {
|
|
|
490
485
|
nm: string;
|
|
491
486
|
mn: string;
|
|
492
487
|
hd: boolean;
|
|
488
|
+
p?: undefined;
|
|
489
|
+
a?: undefined;
|
|
490
|
+
s?: undefined;
|
|
491
|
+
sk?: undefined;
|
|
492
|
+
sa?: undefined;
|
|
493
493
|
} | {
|
|
494
494
|
d?: undefined;
|
|
495
|
-
c?: undefined;
|
|
496
|
-
bm?: undefined;
|
|
497
|
-
mn?: undefined;
|
|
498
|
-
hd?: undefined;
|
|
499
495
|
ty: string;
|
|
500
496
|
p: {
|
|
501
497
|
a: number;
|
|
@@ -533,6 +529,10 @@ declare const animation: {
|
|
|
533
529
|
ix: number;
|
|
534
530
|
};
|
|
535
531
|
nm: string;
|
|
532
|
+
c?: undefined;
|
|
533
|
+
bm?: undefined;
|
|
534
|
+
mn?: undefined;
|
|
535
|
+
hd?: undefined;
|
|
536
536
|
})[];
|
|
537
537
|
nm: string;
|
|
538
538
|
np: number;
|
|
@@ -589,10 +589,10 @@ declare const animation: {
|
|
|
589
589
|
t: number;
|
|
590
590
|
s: number[];
|
|
591
591
|
} | {
|
|
592
|
-
i?: undefined;
|
|
593
|
-
o?: undefined;
|
|
594
592
|
t: number;
|
|
595
593
|
s: number[];
|
|
594
|
+
i?: undefined;
|
|
595
|
+
o?: undefined;
|
|
596
596
|
})[];
|
|
597
597
|
ix: number;
|
|
598
598
|
l: number;
|
|
@@ -602,12 +602,6 @@ declare const animation: {
|
|
|
602
602
|
shapes: {
|
|
603
603
|
ty: string;
|
|
604
604
|
it: ({
|
|
605
|
-
o?: undefined;
|
|
606
|
-
c?: undefined;
|
|
607
|
-
bm?: undefined;
|
|
608
|
-
a?: undefined;
|
|
609
|
-
sk?: undefined;
|
|
610
|
-
sa?: undefined;
|
|
611
605
|
ty: string;
|
|
612
606
|
d: number;
|
|
613
607
|
s: {
|
|
@@ -628,13 +622,14 @@ declare const animation: {
|
|
|
628
622
|
nm: string;
|
|
629
623
|
mn: string;
|
|
630
624
|
hd: boolean;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
625
|
+
o?: undefined;
|
|
626
|
+
c?: undefined;
|
|
627
|
+
bm?: undefined;
|
|
634
628
|
a?: undefined;
|
|
635
|
-
s?: undefined;
|
|
636
629
|
sk?: undefined;
|
|
637
630
|
sa?: undefined;
|
|
631
|
+
} | {
|
|
632
|
+
d?: undefined;
|
|
638
633
|
ty: string;
|
|
639
634
|
c: {
|
|
640
635
|
a: number;
|
|
@@ -650,10 +645,10 @@ declare const animation: {
|
|
|
650
645
|
t: number;
|
|
651
646
|
s: number[];
|
|
652
647
|
} | {
|
|
653
|
-
i?: undefined;
|
|
654
|
-
o?: undefined;
|
|
655
648
|
t: number;
|
|
656
649
|
s: number[];
|
|
650
|
+
i?: undefined;
|
|
651
|
+
o?: undefined;
|
|
657
652
|
})[];
|
|
658
653
|
ix: number;
|
|
659
654
|
};
|
|
@@ -667,12 +662,13 @@ declare const animation: {
|
|
|
667
662
|
nm: string;
|
|
668
663
|
mn: string;
|
|
669
664
|
hd: boolean;
|
|
665
|
+
p?: undefined;
|
|
666
|
+
a?: undefined;
|
|
667
|
+
s?: undefined;
|
|
668
|
+
sk?: undefined;
|
|
669
|
+
sa?: undefined;
|
|
670
670
|
} | {
|
|
671
671
|
d?: undefined;
|
|
672
|
-
c?: undefined;
|
|
673
|
-
bm?: undefined;
|
|
674
|
-
mn?: undefined;
|
|
675
|
-
hd?: undefined;
|
|
676
672
|
ty: string;
|
|
677
673
|
p: {
|
|
678
674
|
a: number;
|
|
@@ -710,6 +706,10 @@ declare const animation: {
|
|
|
710
706
|
ix: number;
|
|
711
707
|
};
|
|
712
708
|
nm: string;
|
|
709
|
+
c?: undefined;
|
|
710
|
+
bm?: undefined;
|
|
711
|
+
mn?: undefined;
|
|
712
|
+
hd?: undefined;
|
|
713
713
|
})[];
|
|
714
714
|
nm: string;
|
|
715
715
|
np: number;
|