@tanstack/pacer-devtools 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +165 -0
  2. package/dist/PacerContextProvider.js +142 -0
  3. package/dist/PacerContextProvider.js.map +1 -0
  4. package/dist/PacerDevtools.js +14 -0
  5. package/dist/PacerDevtools.js.map +1 -0
  6. package/dist/components/ActionButtons.js +154 -0
  7. package/dist/components/ActionButtons.js.map +1 -0
  8. package/dist/components/DetailsPanel.js +76 -0
  9. package/dist/components/DetailsPanel.js.map +1 -0
  10. package/dist/components/Shell.js +107 -0
  11. package/dist/components/Shell.js.map +1 -0
  12. package/dist/components/StateHeader.js +85 -0
  13. package/dist/components/StateHeader.js.map +1 -0
  14. package/dist/components/UtilList.js +72 -0
  15. package/dist/components/UtilList.js.map +1 -0
  16. package/dist/components/util-groups.js +57 -0
  17. package/dist/components/util-groups.js.map +1 -0
  18. package/dist/core.d.ts +20 -0
  19. package/dist/core.js +9 -0
  20. package/dist/core.js.map +1 -0
  21. package/dist/index.d.ts +14 -0
  22. package/dist/index.js +10 -0
  23. package/dist/index.js.map +1 -0
  24. package/dist/production.d.ts +2 -0
  25. package/dist/production.js +5 -0
  26. package/dist/styles/tokens.js +301 -0
  27. package/dist/styles/tokens.js.map +1 -0
  28. package/dist/{esm/styles → styles}/use-styles.js +60 -61
  29. package/dist/styles/use-styles.js.map +1 -0
  30. package/package.json +17 -27
  31. package/src/components/DetailsPanel.tsx +2 -2
  32. package/dist/esm/PacerContextProvider.d.ts +0 -19
  33. package/dist/esm/PacerContextProvider.js +0 -156
  34. package/dist/esm/PacerContextProvider.js.map +0 -1
  35. package/dist/esm/PacerDevtools.d.ts +0 -1
  36. package/dist/esm/PacerDevtools.js +0 -14
  37. package/dist/esm/PacerDevtools.js.map +0 -1
  38. package/dist/esm/components/ActionButtons.d.ts +0 -6
  39. package/dist/esm/components/ActionButtons.js +0 -157
  40. package/dist/esm/components/ActionButtons.js.map +0 -1
  41. package/dist/esm/components/DetailsPanel.d.ts +0 -11
  42. package/dist/esm/components/DetailsPanel.js +0 -80
  43. package/dist/esm/components/DetailsPanel.js.map +0 -1
  44. package/dist/esm/components/Shell.d.ts +0 -1
  45. package/dist/esm/components/Shell.js +0 -111
  46. package/dist/esm/components/Shell.js.map +0 -1
  47. package/dist/esm/components/StateHeader.d.ts +0 -11
  48. package/dist/esm/components/StateHeader.js +0 -92
  49. package/dist/esm/components/StateHeader.js.map +0 -1
  50. package/dist/esm/components/UtilList.d.ts +0 -8
  51. package/dist/esm/components/UtilList.js +0 -70
  52. package/dist/esm/components/UtilList.js.map +0 -1
  53. package/dist/esm/components/util-groups.d.ts +0 -8
  54. package/dist/esm/components/util-groups.js +0 -40
  55. package/dist/esm/components/util-groups.js.map +0 -1
  56. package/dist/esm/core.d.ts +0 -18
  57. package/dist/esm/core.js +0 -9
  58. package/dist/esm/core.js.map +0 -1
  59. package/dist/esm/index.d.ts +0 -9
  60. package/dist/esm/index.js +0 -7
  61. package/dist/esm/index.js.map +0 -1
  62. package/dist/esm/production.d.ts +0 -2
  63. package/dist/esm/production.js +0 -6
  64. package/dist/esm/production.js.map +0 -1
  65. package/dist/esm/styles/tokens.d.ts +0 -298
  66. package/dist/esm/styles/tokens.js +0 -94
  67. package/dist/esm/styles/tokens.js.map +0 -1
  68. package/dist/esm/styles/use-styles.d.ts +0 -40
  69. package/dist/esm/styles/use-styles.js.map +0 -1
@@ -1,298 +0,0 @@
1
- export declare const tokens: {
2
- readonly colors: {
3
- readonly inherit: "inherit";
4
- readonly current: "currentColor";
5
- readonly transparent: "transparent";
6
- readonly black: "#000000";
7
- readonly white: "#ffffff";
8
- readonly neutral: {
9
- readonly 50: "#f9fafb";
10
- readonly 100: "#f2f4f7";
11
- readonly 200: "#eaecf0";
12
- readonly 300: "#d0d5dd";
13
- readonly 400: "#98a2b3";
14
- readonly 500: "#667085";
15
- readonly 600: "#475467";
16
- readonly 700: "#344054";
17
- readonly 800: "#1d2939";
18
- readonly 900: "#101828";
19
- };
20
- readonly darkGray: {
21
- readonly 50: "#525c7a";
22
- readonly 100: "#49536e";
23
- readonly 200: "#414962";
24
- readonly 300: "#394056";
25
- readonly 400: "#313749";
26
- readonly 500: "#292e3d";
27
- readonly 600: "#212530";
28
- readonly 700: "#191c24";
29
- readonly 800: "#111318";
30
- readonly 900: "#0b0d10";
31
- };
32
- readonly gray: {
33
- readonly 50: "#f9fafb";
34
- readonly 100: "#f2f4f7";
35
- readonly 200: "#eaecf0";
36
- readonly 300: "#d0d5dd";
37
- readonly 400: "#98a2b3";
38
- readonly 500: "#667085";
39
- readonly 600: "#475467";
40
- readonly 700: "#344054";
41
- readonly 800: "#1d2939";
42
- readonly 900: "#101828";
43
- };
44
- readonly blue: {
45
- readonly 25: "#F5FAFF";
46
- readonly 50: "#EFF8FF";
47
- readonly 100: "#D1E9FF";
48
- readonly 200: "#B2DDFF";
49
- readonly 300: "#84CAFF";
50
- readonly 400: "#53B1FD";
51
- readonly 500: "#2E90FA";
52
- readonly 600: "#1570EF";
53
- readonly 700: "#175CD3";
54
- readonly 800: "#1849A9";
55
- readonly 900: "#194185";
56
- };
57
- readonly green: {
58
- readonly 25: "#F6FEF9";
59
- readonly 50: "#ECFDF3";
60
- readonly 100: "#D1FADF";
61
- readonly 200: "#A6F4C5";
62
- readonly 300: "#6CE9A6";
63
- readonly 400: "#32D583";
64
- readonly 500: "#12B76A";
65
- readonly 600: "#039855";
66
- readonly 700: "#027A48";
67
- readonly 800: "#05603A";
68
- readonly 900: "#054F31";
69
- };
70
- readonly red: {
71
- readonly 50: "#fef2f2";
72
- readonly 100: "#fee2e2";
73
- readonly 200: "#fecaca";
74
- readonly 300: "#fca5a5";
75
- readonly 400: "#f87171";
76
- readonly 500: "#ef4444";
77
- readonly 600: "#dc2626";
78
- readonly 700: "#b91c1c";
79
- readonly 800: "#991b1b";
80
- readonly 900: "#7f1d1d";
81
- readonly 950: "#450a0a";
82
- };
83
- readonly yellow: {
84
- readonly 25: "#FFFCF5";
85
- readonly 50: "#FFFAEB";
86
- readonly 100: "#FEF0C7";
87
- readonly 200: "#FEDF89";
88
- readonly 300: "#FEC84B";
89
- readonly 400: "#FDB022";
90
- readonly 500: "#F79009";
91
- readonly 600: "#DC6803";
92
- readonly 700: "#B54708";
93
- readonly 800: "#93370D";
94
- readonly 900: "#7A2E0E";
95
- };
96
- readonly purple: {
97
- readonly 25: "#FAFAFF";
98
- readonly 50: "#F4F3FF";
99
- readonly 100: "#EBE9FE";
100
- readonly 200: "#D9D6FE";
101
- readonly 300: "#BDB4FE";
102
- readonly 400: "#9B8AFB";
103
- readonly 500: "#7A5AF8";
104
- readonly 600: "#6938EF";
105
- readonly 700: "#5925DC";
106
- readonly 800: "#4A1FB8";
107
- readonly 900: "#3E1C96";
108
- };
109
- readonly teal: {
110
- readonly 25: "#F6FEFC";
111
- readonly 50: "#F0FDF9";
112
- readonly 100: "#CCFBEF";
113
- readonly 200: "#99F6E0";
114
- readonly 300: "#5FE9D0";
115
- readonly 400: "#2ED3B7";
116
- readonly 500: "#15B79E";
117
- readonly 600: "#0E9384";
118
- readonly 700: "#107569";
119
- readonly 800: "#125D56";
120
- readonly 900: "#134E48";
121
- };
122
- readonly pink: {
123
- readonly 25: "#fdf2f8";
124
- readonly 50: "#fce7f3";
125
- readonly 100: "#fbcfe8";
126
- readonly 200: "#f9a8d4";
127
- readonly 300: "#f472b6";
128
- readonly 400: "#ec4899";
129
- readonly 500: "#db2777";
130
- readonly 600: "#be185d";
131
- readonly 700: "#9d174d";
132
- readonly 800: "#831843";
133
- readonly 900: "#500724";
134
- };
135
- readonly cyan: {
136
- readonly 25: "#ecfeff";
137
- readonly 50: "#cffafe";
138
- readonly 100: "#a5f3fc";
139
- readonly 200: "#67e8f9";
140
- readonly 300: "#22d3ee";
141
- readonly 400: "#06b6d4";
142
- readonly 500: "#0891b2";
143
- readonly 600: "#0e7490";
144
- readonly 700: "#155e75";
145
- readonly 800: "#164e63";
146
- readonly 900: "#083344";
147
- };
148
- };
149
- readonly alpha: {
150
- readonly 100: "ff";
151
- readonly 90: "e5";
152
- readonly 80: "cc";
153
- readonly 70: "b3";
154
- readonly 60: "99";
155
- readonly 50: "80";
156
- readonly 40: "66";
157
- readonly 30: "4d";
158
- readonly 20: "33";
159
- readonly 10: "1a";
160
- readonly 0: "00";
161
- };
162
- readonly font: {
163
- readonly size: {
164
- readonly '2xs': "calc(var(--tsrd-font-size) * 0.625)";
165
- readonly xs: "calc(var(--tsrd-font-size) * 0.75)";
166
- readonly sm: "calc(var(--tsrd-font-size) * 0.875)";
167
- readonly md: "var(--tsrd-font-size)";
168
- readonly lg: "calc(var(--tsrd-font-size) * 1.125)";
169
- readonly xl: "calc(var(--tsrd-font-size) * 1.25)";
170
- readonly '2xl': "calc(var(--tsrd-font-size) * 1.5)";
171
- readonly '3xl': "calc(var(--tsrd-font-size) * 1.875)";
172
- readonly '4xl': "calc(var(--tsrd-font-size) * 2.25)";
173
- readonly '5xl': "calc(var(--tsrd-font-size) * 3)";
174
- readonly '6xl': "calc(var(--tsrd-font-size) * 3.75)";
175
- readonly '7xl': "calc(var(--tsrd-font-size) * 4.5)";
176
- readonly '8xl': "calc(var(--tsrd-font-size) * 6)";
177
- readonly '9xl': "calc(var(--tsrd-font-size) * 8)";
178
- };
179
- readonly lineHeight: {
180
- readonly '3xs': "calc(var(--tsrd-font-size) * 0.75)";
181
- readonly '2xs': "calc(var(--tsrd-font-size) * 0.875)";
182
- readonly xs: "calc(var(--tsrd-font-size) * 1)";
183
- readonly sm: "calc(var(--tsrd-font-size) * 1.25)";
184
- readonly md: "calc(var(--tsrd-font-size) * 1.5)";
185
- readonly lg: "calc(var(--tsrd-font-size) * 1.75)";
186
- readonly xl: "calc(var(--tsrd-font-size) * 2)";
187
- readonly '2xl': "calc(var(--tsrd-font-size) * 2.25)";
188
- readonly '3xl': "calc(var(--tsrd-font-size) * 2.5)";
189
- readonly '4xl': "calc(var(--tsrd-font-size) * 2.75)";
190
- readonly '5xl': "calc(var(--tsrd-font-size) * 3)";
191
- readonly '6xl': "calc(var(--tsrd-font-size) * 3.25)";
192
- readonly '7xl': "calc(var(--tsrd-font-size) * 3.5)";
193
- readonly '8xl': "calc(var(--tsrd-font-size) * 3.75)";
194
- readonly '9xl': "calc(var(--tsrd-font-size) * 4)";
195
- };
196
- readonly weight: {
197
- readonly thin: "100";
198
- readonly extralight: "200";
199
- readonly light: "300";
200
- readonly normal: "400";
201
- readonly medium: "500";
202
- readonly semibold: "600";
203
- readonly bold: "700";
204
- readonly extrabold: "800";
205
- readonly black: "900";
206
- };
207
- readonly fontFamily: {
208
- readonly sans: "ui-sans-serif, Inter, system-ui, sans-serif, sans-serif";
209
- readonly mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace";
210
- };
211
- };
212
- readonly breakpoints: {
213
- readonly xs: "320px";
214
- readonly sm: "640px";
215
- readonly md: "768px";
216
- readonly lg: "1024px";
217
- readonly xl: "1280px";
218
- readonly '2xl': "1536px";
219
- };
220
- readonly border: {
221
- readonly radius: {
222
- readonly none: "0px";
223
- readonly xs: "calc(var(--tsrd-font-size) * 0.125)";
224
- readonly sm: "calc(var(--tsrd-font-size) * 0.25)";
225
- readonly md: "calc(var(--tsrd-font-size) * 0.375)";
226
- readonly lg: "calc(var(--tsrd-font-size) * 0.5)";
227
- readonly xl: "calc(var(--tsrd-font-size) * 0.75)";
228
- readonly '2xl': "calc(var(--tsrd-font-size) * 1)";
229
- readonly '3xl': "calc(var(--tsrd-font-size) * 1.5)";
230
- readonly full: "9999px";
231
- };
232
- };
233
- readonly size: {
234
- readonly 0: "0px";
235
- readonly 0.25: "calc(var(--tsrd-font-size) * 0.0625)";
236
- readonly 0.5: "calc(var(--tsrd-font-size) * 0.125)";
237
- readonly 1: "calc(var(--tsrd-font-size) * 0.25)";
238
- readonly 1.5: "calc(var(--tsrd-font-size) * 0.375)";
239
- readonly 2: "calc(var(--tsrd-font-size) * 0.5)";
240
- readonly 2.5: "calc(var(--tsrd-font-size) * 0.625)";
241
- readonly 3: "calc(var(--tsrd-font-size) * 0.75)";
242
- readonly 3.5: "calc(var(--tsrd-font-size) * 0.875)";
243
- readonly 4: "calc(var(--tsrd-font-size) * 1)";
244
- readonly 4.5: "calc(var(--tsrd-font-size) * 1.125)";
245
- readonly 5: "calc(var(--tsrd-font-size) * 1.25)";
246
- readonly 5.5: "calc(var(--tsrd-font-size) * 1.375)";
247
- readonly 6: "calc(var(--tsrd-font-size) * 1.5)";
248
- readonly 6.5: "calc(var(--tsrd-font-size) * 1.625)";
249
- readonly 7: "calc(var(--tsrd-font-size) * 1.75)";
250
- readonly 8: "calc(var(--tsrd-font-size) * 2)";
251
- readonly 9: "calc(var(--tsrd-font-size) * 2.25)";
252
- readonly 10: "calc(var(--tsrd-font-size) * 2.5)";
253
- readonly 11: "calc(var(--tsrd-font-size) * 2.75)";
254
- readonly 12: "calc(var(--tsrd-font-size) * 3)";
255
- readonly 14: "calc(var(--tsrd-font-size) * 3.5)";
256
- readonly 16: "calc(var(--tsrd-font-size) * 4)";
257
- readonly 20: "calc(var(--tsrd-font-size) * 5)";
258
- readonly 24: "calc(var(--tsrd-font-size) * 6)";
259
- readonly 28: "calc(var(--tsrd-font-size) * 7)";
260
- readonly 32: "calc(var(--tsrd-font-size) * 8)";
261
- readonly 36: "calc(var(--tsrd-font-size) * 9)";
262
- readonly 40: "calc(var(--tsrd-font-size) * 10)";
263
- readonly 44: "calc(var(--tsrd-font-size) * 11)";
264
- readonly 48: "calc(var(--tsrd-font-size) * 12)";
265
- readonly 52: "calc(var(--tsrd-font-size) * 13)";
266
- readonly 56: "calc(var(--tsrd-font-size) * 14)";
267
- readonly 60: "calc(var(--tsrd-font-size) * 15)";
268
- readonly 64: "calc(var(--tsrd-font-size) * 16)";
269
- readonly 72: "calc(var(--tsrd-font-size) * 18)";
270
- readonly 80: "calc(var(--tsrd-font-size) * 20)";
271
- readonly 96: "calc(var(--tsrd-font-size) * 24)";
272
- };
273
- readonly shadow: {
274
- readonly xs: (_?: string) => "0 1px 2px 0 rgb(0 0 0 / 0.05)";
275
- readonly sm: (color?: string) => `0 1px 3px 0 ${string}, 0 1px 2px -1px ${string}`;
276
- readonly md: (color?: string) => `0 4px 6px -1px ${string}, 0 2px 4px -2px ${string}`;
277
- readonly lg: (color?: string) => `0 10px 15px -3px ${string}, 0 4px 6px -4px ${string}`;
278
- readonly xl: (color?: string) => `0 20px 25px -5px ${string}, 0 8px 10px -6px ${string}`;
279
- readonly '2xl': (color?: string) => `0 25px 50px -12px ${string}`;
280
- readonly inner: (color?: string) => `inset 0 2px 4px 0 ${string}`;
281
- readonly none: () => "none";
282
- };
283
- readonly zIndices: {
284
- readonly hide: -1;
285
- readonly auto: "auto";
286
- readonly base: 0;
287
- readonly docked: 10;
288
- readonly dropdown: 1000;
289
- readonly sticky: 1100;
290
- readonly banner: 1200;
291
- readonly overlay: 1300;
292
- readonly modal: 1400;
293
- readonly popover: 1500;
294
- readonly skipLink: 1600;
295
- readonly toast: 1700;
296
- readonly tooltip: 1800;
297
- };
298
- };
@@ -1,94 +0,0 @@
1
- const tokens = {
2
- colors: {
3
- black: "#000000",
4
- white: "#ffffff",
5
- darkGray: {
6
- 400: "#313749",
7
- 500: "#292e3d",
8
- 600: "#212530",
9
- 700: "#191c24",
10
- 800: "#111318"
11
- },
12
- gray: {
13
- 100: "#f2f4f7",
14
- 200: "#eaecf0",
15
- 300: "#d0d5dd",
16
- 400: "#98a2b3",
17
- 500: "#667085",
18
- 600: "#475467",
19
- 800: "#1d2939",
20
- 900: "#101828"
21
- },
22
- blue: {
23
- 100: "#D1E9FF",
24
- 300: "#84CAFF",
25
- 400: "#53B1FD",
26
- 500: "#2E90FA",
27
- 600: "#1570EF",
28
- 700: "#175CD3",
29
- 900: "#194185"
30
- },
31
- green: {
32
- 400: "#32D583"
33
- },
34
- red: {
35
- 400: "#f87171"
36
- },
37
- yellow: {
38
- 400: "#FDB022"
39
- },
40
- purple: {
41
- 400: "#9B8AFB"
42
- },
43
- pink: {
44
- 400: "#ec4899"
45
- }
46
- },
47
- alpha: {
48
- 80: "cc",
49
- 30: "4d",
50
- 20: "33"
51
- },
52
- font: {
53
- size: {
54
- xs: "calc(var(--tsrd-font-size) * 0.75)",
55
- sm: "calc(var(--tsrd-font-size) * 0.875)",
56
- md: "var(--tsrd-font-size)",
57
- lg: "calc(var(--tsrd-font-size) * 1.125)"
58
- },
59
- weight: {
60
- semibold: "600",
61
- bold: "700"
62
- },
63
- fontFamily: {
64
- mono: `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace`
65
- }
66
- },
67
- border: {
68
- radius: {
69
- sm: "calc(var(--tsrd-font-size) * 0.25)",
70
- md: "calc(var(--tsrd-font-size) * 0.375)",
71
- lg: "calc(var(--tsrd-font-size) * 0.5)"
72
- }
73
- },
74
- size: {
75
- 1: "calc(var(--tsrd-font-size) * 0.25)",
76
- 2: "calc(var(--tsrd-font-size) * 0.5)",
77
- 3: "calc(var(--tsrd-font-size) * 0.75)",
78
- 4: "calc(var(--tsrd-font-size) * 1)"
79
- },
80
- shadow: {
81
- xs: (_ = "rgb(0 0 0 / 0.1)") => `0 1px 2px 0 rgb(0 0 0 / 0.05)`,
82
- sm: (color = "rgb(0 0 0 / 0.1)") => `0 1px 3px 0 ${color}, 0 1px 2px -1px ${color}`,
83
- md: (color = "rgb(0 0 0 / 0.1)") => `0 4px 6px -1px ${color}, 0 2px 4px -2px ${color}`,
84
- lg: (color = "rgb(0 0 0 / 0.1)") => `0 10px 15px -3px ${color}, 0 4px 6px -4px ${color}`,
85
- xl: (color = "rgb(0 0 0 / 0.1)") => `0 20px 25px -5px ${color}, 0 8px 10px -6px ${color}`,
86
- "2xl": (color = "rgb(0 0 0 / 0.25)") => `0 25px 50px -12px ${color}`,
87
- inner: (color = "rgb(0 0 0 / 0.05)") => `inset 0 2px 4px 0 ${color}`,
88
- none: () => `none`
89
- }
90
- };
91
- export {
92
- tokens
93
- };
94
- //# sourceMappingURL=tokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tokens.js","sources":["../../../src/styles/tokens.ts"],"sourcesContent":["export const tokens = {\n colors: {\n inherit: 'inherit',\n current: 'currentColor',\n transparent: 'transparent',\n black: '#000000',\n white: '#ffffff',\n neutral: {\n 50: '#f9fafb',\n 100: '#f2f4f7',\n 200: '#eaecf0',\n 300: '#d0d5dd',\n 400: '#98a2b3',\n 500: '#667085',\n 600: '#475467',\n 700: '#344054',\n 800: '#1d2939',\n 900: '#101828',\n },\n darkGray: {\n 50: '#525c7a',\n 100: '#49536e',\n 200: '#414962',\n 300: '#394056',\n 400: '#313749',\n 500: '#292e3d',\n 600: '#212530',\n 700: '#191c24',\n 800: '#111318',\n 900: '#0b0d10',\n },\n gray: {\n 50: '#f9fafb',\n 100: '#f2f4f7',\n 200: '#eaecf0',\n 300: '#d0d5dd',\n 400: '#98a2b3',\n 500: '#667085',\n 600: '#475467',\n 700: '#344054',\n 800: '#1d2939',\n 900: '#101828',\n },\n blue: {\n 25: '#F5FAFF',\n 50: '#EFF8FF',\n 100: '#D1E9FF',\n 200: '#B2DDFF',\n 300: '#84CAFF',\n 400: '#53B1FD',\n 500: '#2E90FA',\n 600: '#1570EF',\n 700: '#175CD3',\n 800: '#1849A9',\n 900: '#194185',\n },\n green: {\n 25: '#F6FEF9',\n 50: '#ECFDF3',\n 100: '#D1FADF',\n 200: '#A6F4C5',\n 300: '#6CE9A6',\n 400: '#32D583',\n 500: '#12B76A',\n 600: '#039855',\n 700: '#027A48',\n 800: '#05603A',\n 900: '#054F31',\n },\n red: {\n 50: '#fef2f2',\n 100: '#fee2e2',\n 200: '#fecaca',\n 300: '#fca5a5',\n 400: '#f87171',\n 500: '#ef4444',\n 600: '#dc2626',\n 700: '#b91c1c',\n 800: '#991b1b',\n 900: '#7f1d1d',\n 950: '#450a0a',\n },\n yellow: {\n 25: '#FFFCF5',\n 50: '#FFFAEB',\n 100: '#FEF0C7',\n 200: '#FEDF89',\n 300: '#FEC84B',\n 400: '#FDB022',\n 500: '#F79009',\n 600: '#DC6803',\n 700: '#B54708',\n 800: '#93370D',\n 900: '#7A2E0E',\n },\n purple: {\n 25: '#FAFAFF',\n 50: '#F4F3FF',\n 100: '#EBE9FE',\n 200: '#D9D6FE',\n 300: '#BDB4FE',\n 400: '#9B8AFB',\n 500: '#7A5AF8',\n 600: '#6938EF',\n 700: '#5925DC',\n 800: '#4A1FB8',\n 900: '#3E1C96',\n },\n teal: {\n 25: '#F6FEFC',\n 50: '#F0FDF9',\n 100: '#CCFBEF',\n 200: '#99F6E0',\n 300: '#5FE9D0',\n 400: '#2ED3B7',\n 500: '#15B79E',\n 600: '#0E9384',\n 700: '#107569',\n 800: '#125D56',\n 900: '#134E48',\n },\n pink: {\n 25: '#fdf2f8',\n 50: '#fce7f3',\n 100: '#fbcfe8',\n 200: '#f9a8d4',\n 300: '#f472b6',\n 400: '#ec4899',\n 500: '#db2777',\n 600: '#be185d',\n 700: '#9d174d',\n 800: '#831843',\n 900: '#500724',\n },\n cyan: {\n 25: '#ecfeff',\n 50: '#cffafe',\n 100: '#a5f3fc',\n 200: '#67e8f9',\n 300: '#22d3ee',\n 400: '#06b6d4',\n 500: '#0891b2',\n 600: '#0e7490',\n 700: '#155e75',\n 800: '#164e63',\n 900: '#083344',\n },\n },\n alpha: {\n 100: 'ff',\n 90: 'e5',\n 80: 'cc',\n 70: 'b3',\n 60: '99',\n 50: '80',\n 40: '66',\n 30: '4d',\n 20: '33',\n 10: '1a',\n 0: '00',\n },\n font: {\n size: {\n '2xs': 'calc(var(--tsrd-font-size) * 0.625)',\n xs: 'calc(var(--tsrd-font-size) * 0.75)',\n sm: 'calc(var(--tsrd-font-size) * 0.875)',\n md: 'var(--tsrd-font-size)',\n lg: 'calc(var(--tsrd-font-size) * 1.125)',\n xl: 'calc(var(--tsrd-font-size) * 1.25)',\n '2xl': 'calc(var(--tsrd-font-size) * 1.5)',\n '3xl': 'calc(var(--tsrd-font-size) * 1.875)',\n '4xl': 'calc(var(--tsrd-font-size) * 2.25)',\n '5xl': 'calc(var(--tsrd-font-size) * 3)',\n '6xl': 'calc(var(--tsrd-font-size) * 3.75)',\n '7xl': 'calc(var(--tsrd-font-size) * 4.5)',\n '8xl': 'calc(var(--tsrd-font-size) * 6)',\n '9xl': 'calc(var(--tsrd-font-size) * 8)',\n },\n lineHeight: {\n '3xs': 'calc(var(--tsrd-font-size) * 0.75)',\n '2xs': 'calc(var(--tsrd-font-size) * 0.875)',\n xs: 'calc(var(--tsrd-font-size) * 1)',\n sm: 'calc(var(--tsrd-font-size) * 1.25)',\n md: 'calc(var(--tsrd-font-size) * 1.5)',\n lg: 'calc(var(--tsrd-font-size) * 1.75)',\n xl: 'calc(var(--tsrd-font-size) * 2)',\n '2xl': 'calc(var(--tsrd-font-size) * 2.25)',\n '3xl': 'calc(var(--tsrd-font-size) * 2.5)',\n '4xl': 'calc(var(--tsrd-font-size) * 2.75)',\n '5xl': 'calc(var(--tsrd-font-size) * 3)',\n '6xl': 'calc(var(--tsrd-font-size) * 3.25)',\n '7xl': 'calc(var(--tsrd-font-size) * 3.5)',\n '8xl': 'calc(var(--tsrd-font-size) * 3.75)',\n '9xl': 'calc(var(--tsrd-font-size) * 4)',\n },\n weight: {\n thin: '100',\n extralight: '200',\n light: '300',\n normal: '400',\n medium: '500',\n semibold: '600',\n bold: '700',\n extrabold: '800',\n black: '900',\n },\n fontFamily: {\n sans: 'ui-sans-serif, Inter, system-ui, sans-serif, sans-serif',\n mono: `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace`,\n },\n },\n breakpoints: {\n xs: '320px',\n sm: '640px',\n md: '768px',\n lg: '1024px',\n xl: '1280px',\n '2xl': '1536px',\n },\n border: {\n radius: {\n none: '0px',\n xs: 'calc(var(--tsrd-font-size) * 0.125)',\n sm: 'calc(var(--tsrd-font-size) * 0.25)',\n md: 'calc(var(--tsrd-font-size) * 0.375)',\n lg: 'calc(var(--tsrd-font-size) * 0.5)',\n xl: 'calc(var(--tsrd-font-size) * 0.75)',\n '2xl': 'calc(var(--tsrd-font-size) * 1)',\n '3xl': 'calc(var(--tsrd-font-size) * 1.5)',\n full: '9999px',\n },\n },\n size: {\n 0: '0px',\n 0.25: 'calc(var(--tsrd-font-size) * 0.0625)',\n 0.5: 'calc(var(--tsrd-font-size) * 0.125)',\n 1: 'calc(var(--tsrd-font-size) * 0.25)',\n 1.5: 'calc(var(--tsrd-font-size) * 0.375)',\n 2: 'calc(var(--tsrd-font-size) * 0.5)',\n 2.5: 'calc(var(--tsrd-font-size) * 0.625)',\n 3: 'calc(var(--tsrd-font-size) * 0.75)',\n 3.5: 'calc(var(--tsrd-font-size) * 0.875)',\n 4: 'calc(var(--tsrd-font-size) * 1)',\n 4.5: 'calc(var(--tsrd-font-size) * 1.125)',\n 5: 'calc(var(--tsrd-font-size) * 1.25)',\n 5.5: 'calc(var(--tsrd-font-size) * 1.375)',\n 6: 'calc(var(--tsrd-font-size) * 1.5)',\n 6.5: 'calc(var(--tsrd-font-size) * 1.625)',\n 7: 'calc(var(--tsrd-font-size) * 1.75)',\n 8: 'calc(var(--tsrd-font-size) * 2)',\n 9: 'calc(var(--tsrd-font-size) * 2.25)',\n 10: 'calc(var(--tsrd-font-size) * 2.5)',\n 11: 'calc(var(--tsrd-font-size) * 2.75)',\n 12: 'calc(var(--tsrd-font-size) * 3)',\n 14: 'calc(var(--tsrd-font-size) * 3.5)',\n 16: 'calc(var(--tsrd-font-size) * 4)',\n 20: 'calc(var(--tsrd-font-size) * 5)',\n 24: 'calc(var(--tsrd-font-size) * 6)',\n 28: 'calc(var(--tsrd-font-size) * 7)',\n 32: 'calc(var(--tsrd-font-size) * 8)',\n 36: 'calc(var(--tsrd-font-size) * 9)',\n 40: 'calc(var(--tsrd-font-size) * 10)',\n 44: 'calc(var(--tsrd-font-size) * 11)',\n 48: 'calc(var(--tsrd-font-size) * 12)',\n 52: 'calc(var(--tsrd-font-size) * 13)',\n 56: 'calc(var(--tsrd-font-size) * 14)',\n 60: 'calc(var(--tsrd-font-size) * 15)',\n 64: 'calc(var(--tsrd-font-size) * 16)',\n 72: 'calc(var(--tsrd-font-size) * 18)',\n 80: 'calc(var(--tsrd-font-size) * 20)',\n 96: 'calc(var(--tsrd-font-size) * 24)',\n },\n shadow: {\n xs: (_: string = 'rgb(0 0 0 / 0.1)') =>\n `0 1px 2px 0 rgb(0 0 0 / 0.05)` as const,\n sm: (color: string = 'rgb(0 0 0 / 0.1)') =>\n `0 1px 3px 0 ${color}, 0 1px 2px -1px ${color}` as const,\n md: (color: string = 'rgb(0 0 0 / 0.1)') =>\n `0 4px 6px -1px ${color}, 0 2px 4px -2px ${color}` as const,\n lg: (color: string = 'rgb(0 0 0 / 0.1)') =>\n `0 10px 15px -3px ${color}, 0 4px 6px -4px ${color}` as const,\n xl: (color: string = 'rgb(0 0 0 / 0.1)') =>\n `0 20px 25px -5px ${color}, 0 8px 10px -6px ${color}` as const,\n '2xl': (color: string = 'rgb(0 0 0 / 0.25)') =>\n `0 25px 50px -12px ${color}` as const,\n inner: (color: string = 'rgb(0 0 0 / 0.05)') =>\n `inset 0 2px 4px 0 ${color}` as const,\n none: () => `none` as const,\n },\n zIndices: {\n hide: -1,\n auto: 'auto',\n base: 0,\n docked: 10,\n dropdown: 1000,\n sticky: 1100,\n banner: 1200,\n overlay: 1300,\n modal: 1400,\n popover: 1500,\n skipLink: 1600,\n toast: 1700,\n tooltip: 1800,\n },\n} as const\n"],"names":[],"mappings":"AAAO,MAAM,SAAS;AAAA,EACpB,QAAQ;AAAA,IAIN,OAAO;AAAA,IACP,OAAO;AAAA,IAaP,UAAU;AAAA,MAKR,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IAEP;AAAA,IACA,MAAM;AAAA,MAEJ,KAAK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gB,uBACnB,kBAAkB,KAAK,oBAAoB,KAAK;AAAA,IAClD,IAAI,CAAC,QAAgB,uBACnB,oBAAoB,KAAK,oBAAoB,KAAK;AAAA,IACpD,IAAI,CAAC,QAAgB,uBACnB,oBAAoB,KAAK,qBAAqB,KAAK;AAAA,IACrD,OAAO,CAAC,QAAgB,wBACtB,qBAAqB,KAAK;AAAA,IAC5B,OAAO,CAAC,QAAgB,wBACtB,qBAAqB,KAAK;AAAA,IAC5B,MAAM,MAAM;AAAA,EAAA;AAiBhB;"}
@@ -1,40 +0,0 @@
1
- export declare function useStyles(): import('solid-js').Accessor<{
2
- mainContainer: string;
3
- dragHandle: string;
4
- leftPanel: string;
5
- rightPanel: string;
6
- panelHeader: string;
7
- utilList: string;
8
- utilGroup: string;
9
- utilGroupHeader: string;
10
- utilRow: string;
11
- utilRowSelected: string;
12
- utilKey: string;
13
- utilStatus: string;
14
- stateDetails: string;
15
- stateHeader: string;
16
- stateTitle: string;
17
- stateKey: string;
18
- stateContent: string;
19
- detailsGrid: string;
20
- detailSection: string;
21
- detailSectionHeader: string;
22
- actionsRow: string;
23
- actionButton: string;
24
- actionDotBlue: string;
25
- actionDotGreen: string;
26
- actionDotRed: string;
27
- actionDotYellow: string;
28
- actionDotOrange: string;
29
- actionDotPurple: string;
30
- infoGrid: string;
31
- infoLabel: string;
32
- infoValueMono: string;
33
- noSelection: string;
34
- sectionContainer: string;
35
- section: string;
36
- sectionHeader: string;
37
- sectionEmpty: string;
38
- instanceList: string;
39
- instanceCard: string;
40
- }>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-styles.js","sources":["../../../src/styles/use-styles.ts"],"sourcesContent":["import * as goober from 'goober'\nimport { createEffect, createSignal } from 'solid-js'\nimport { useTheme } from '@tanstack/devtools-ui'\nimport { tokens } from './tokens'\n\nconst stylesFactory = (theme: 'light' | 'dark') => {\n const { colors, font, size, alpha, border } = tokens\n const { fontFamily, size: fontSize } = font\n const css = goober.css\n const t = (light: string, dark: string) => (theme === 'light' ? light : dark)\n\n return {\n mainContainer: css`\n display: flex;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n padding: ${size[2]};\n padding-top: 0;\n margin-top: ${size[2]};\n `,\n dragHandle: css`\n width: 8px;\n background: ${t(colors.gray[300], colors.darkGray[600])};\n cursor: col-resize;\n position: relative;\n transition: all 0.2s ease;\n user-select: none;\n pointer-events: all;\n margin: 0 ${size[1]};\n border-radius: 2px;\n\n &:hover {\n background: ${t(colors.blue[600], colors.blue[500])};\n margin: 0 ${size[1]};\n }\n\n &.dragging {\n background: ${t(colors.blue[700], colors.blue[600])};\n margin: 0 ${size[1]};\n }\n\n &::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 2px;\n height: 20px;\n background: ${t(colors.gray[400], colors.darkGray[400])};\n border-radius: 1px;\n pointer-events: none;\n }\n\n &:hover::after,\n &.dragging::after {\n background: ${t(colors.blue[500], colors.blue[300])};\n }\n `,\n leftPanel: css`\n background: ${t(colors.gray[100], colors.darkGray[800])};\n border-radius: ${border.radius.lg};\n border: 1px solid ${t(colors.gray[200], colors.darkGray[700])};\n display: flex;\n flex-direction: column;\n overflow: hidden;\n min-height: 0;\n flex-shrink: 0;\n `,\n rightPanel: css`\n background: ${t(colors.gray[100], colors.darkGray[800])};\n border-radius: ${border.radius.lg};\n border: 1px solid ${t(colors.gray[200], colors.darkGray[700])};\n display: flex;\n flex-direction: column;\n overflow: hidden;\n min-height: 0;\n flex: 1;\n `,\n panelHeader: css`\n font-size: ${fontSize.md};\n font-weight: ${font.weight.bold};\n color: ${t(colors.blue[700], colors.blue[400])};\n padding: ${size[2]};\n border-bottom: 1px solid ${t(colors.gray[200], colors.darkGray[700])};\n background: ${t(colors.gray[100], colors.darkGray[800])};\n flex-shrink: 0;\n `,\n utilList: css`\n flex: 1;\n overflow-y: auto;\n padding: ${size[1]};\n min-height: 0;\n `,\n utilGroup: css`\n margin-bottom: ${size[2]};\n `,\n utilGroupHeader: css`\n font-size: ${fontSize.xs};\n font-weight: ${font.weight.semibold};\n color: ${t(colors.gray[600], colors.gray[400])};\n text-transform: uppercase;\n letter-spacing: 0.05em;\n margin-bottom: ${size[1]};\n padding: ${size[1]} ${size[2]};\n background: ${t(colors.gray[200], colors.darkGray[700])};\n border-radius: ${border.radius.md};\n `,\n utilRow: css`\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: ${size[2]};\n margin-bottom: ${size[1]};\n background: ${t(colors.gray[200], colors.darkGray[700])};\n border-radius: ${border.radius.md};\n cursor: pointer;\n transition: all 0.2s ease;\n border: 1px solid transparent;\n\n &:hover {\n background: ${t(colors.gray[300], colors.darkGray[600])};\n border-color: ${t(colors.gray[400], colors.darkGray[500])};\n }\n `,\n utilRowSelected: css`\n background: ${t(colors.blue[100], colors.blue[900] + alpha[20])};\n border-color: ${t(colors.blue[600], colors.blue[500])};\n box-shadow: 0 0 0 1px\n ${t(colors.blue[600] + alpha[30], colors.blue[500] + alpha[30])};\n `,\n utilKey: css`\n font-family: ${fontFamily.mono};\n font-size: ${fontSize.xs};\n color: ${t(colors.gray[900], colors.gray[100])};\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n utilStatus: css`\n font-size: ${fontSize.xs};\n color: ${t(colors.gray[600], colors.gray[400])};\n text-transform: uppercase;\n letter-spacing: 0.05em;\n padding: ${size[1]} ${size[1]};\n background: ${t(colors.gray[300], colors.darkGray[600])};\n border-radius: ${border.radius.sm};\n margin-left: ${size[1]};\n `,\n stateDetails: css`\n flex: 1;\n overflow-y: auto;\n padding: ${size[2]};\n min-height: 0;\n `,\n stateHeader: css`\n margin-bottom: ${size[2]};\n padding-bottom: ${size[2]};\n border-bottom: 1px solid ${t(colors.gray[200], colors.darkGray[700])};\n `,\n stateTitle: css`\n font-size: ${fontSize.md};\n font-weight: ${font.weight.bold};\n color: ${t(colors.blue[700], colors.blue[400])};\n margin-bottom: ${size[1]};\n `,\n stateKey: css`\n font-family: ${fontFamily.mono};\n font-size: ${fontSize.xs};\n color: ${t(colors.gray[600], colors.gray[400])};\n word-break: break-all;\n `,\n stateContent: css`\n background: ${t(colors.gray[100], colors.darkGray[700])};\n border-radius: ${border.radius.md};\n padding: ${size[2]};\n border: 1px solid ${t(colors.gray[300], colors.darkGray[600])};\n `,\n detailsGrid: css`\n display: grid;\n grid-template-columns: 1fr;\n gap: ${size[2]};\n align-items: start;\n `,\n detailSection: css`\n background: ${t(colors.white, colors.darkGray[700])};\n border: 1px solid ${t(colors.gray[300], colors.darkGray[600])};\n border-radius: ${border.radius.md};\n padding: ${size[2]};\n `,\n detailSectionHeader: css`\n font-size: ${fontSize.sm};\n font-weight: ${font.weight.bold};\n color: ${t(colors.gray[800], colors.gray[200])};\n margin-bottom: ${size[1]};\n text-transform: uppercase;\n letter-spacing: 0.04em;\n `,\n actionsRow: css`\n display: flex;\n flex-wrap: wrap;\n gap: ${size[2]};\n `,\n actionButton: css`\n display: inline-flex;\n align-items: center;\n gap: ${size[1]};\n padding: ${size[1]} ${size[2]};\n border-radius: ${border.radius.md};\n border: 1px solid ${t(colors.gray[300], colors.darkGray[500])};\n background: ${t(colors.gray[200], colors.darkGray[600])};\n color: ${t(colors.gray[900], colors.gray[100])};\n font-size: ${fontSize.xs};\n cursor: pointer;\n user-select: none;\n transition:\n background 0.15s,\n border-color 0.15s;\n &:hover {\n background: ${t(colors.gray[300], colors.darkGray[500])};\n border-color: ${t(colors.gray[400], colors.darkGray[400])};\n }\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n &:hover {\n background: ${t(colors.gray[200], colors.darkGray[600])};\n border-color: ${t(colors.gray[300], colors.darkGray[500])};\n }\n }\n `,\n actionDotBlue: css`\n width: 6px;\n height: 6px;\n border-radius: 9999px;\n background: ${colors.blue[400]};\n `,\n actionDotGreen: css`\n width: 6px;\n height: 6px;\n border-radius: 9999px;\n background: ${colors.green[400]};\n `,\n actionDotRed: css`\n width: 6px;\n height: 6px;\n border-radius: 9999px;\n background: ${colors.red[400]};\n `,\n actionDotYellow: css`\n width: 6px;\n height: 6px;\n border-radius: 9999px;\n background: ${colors.yellow[400]};\n `,\n actionDotOrange: css`\n width: 6px;\n height: 6px;\n border-radius: 9999px;\n background: ${colors.pink[400]};\n `,\n actionDotPurple: css`\n width: 6px;\n height: 6px;\n border-radius: 9999px;\n background: ${colors.purple[400]};\n `,\n infoGrid: css`\n display: grid;\n grid-template-columns: auto 1fr;\n gap: ${size[1]};\n row-gap: ${size[1]};\n align-items: center;\n `,\n infoLabel: css`\n color: ${t(colors.gray[600], colors.gray[400])};\n font-size: ${fontSize.xs};\n text-transform: uppercase;\n letter-spacing: 0.05em;\n `,\n infoValueMono: css`\n font-family: ${fontFamily.mono};\n font-size: ${fontSize.xs};\n color: ${t(colors.gray[900], colors.gray[100])};\n word-break: break-all;\n `,\n noSelection: css`\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ${t(colors.gray[500], colors.gray[500])};\n font-style: italic;\n text-align: center;\n padding: ${size[4]};\n `,\n // Keep existing styles for backward compatibility\n sectionContainer: css`\n display: flex;\n flex-wrap: wrap;\n gap: ${size[4]};\n `,\n section: css`\n background: ${t(colors.gray[100], colors.darkGray[800])};\n border-radius: ${border.radius.lg};\n box-shadow: ${tokens.shadow.md(\n t(colors.gray[400] + alpha[80], colors.black + alpha[80]),\n )};\n padding: ${size[4]};\n margin-bottom: ${size[4]};\n border: 1px solid ${t(colors.gray[200], colors.darkGray[700])};\n min-width: 0;\n max-width: 33%;\n max-height: fit-content;\n `,\n sectionHeader: css`\n font-size: ${fontSize.lg};\n font-weight: ${font.weight.bold};\n margin-bottom: ${size[2]};\n color: ${t(colors.blue[600], colors.blue[400])};\n letter-spacing: 0.01em;\n display: flex;\n align-items: center;\n gap: ${size[2]};\n `,\n sectionEmpty: css`\n color: ${t(colors.gray[500], colors.gray[500])};\n font-size: ${fontSize.sm};\n font-style: italic;\n margin: ${size[2]} 0;\n `,\n instanceList: css`\n display: flex;\n flex-direction: column;\n gap: ${size[2]};\n background: ${t(colors.gray[200], colors.darkGray[700])};\n border: 1px solid ${t(colors.gray[300], colors.darkGray[600])};\n `,\n instanceCard: css`\n background: ${t(colors.gray[200], colors.darkGray[700])};\n border-radius: ${border.radius.md};\n padding: ${size[3]};\n border: 1px solid ${t(colors.gray[300], colors.darkGray[600])};\n font-size: ${fontSize.sm};\n color: ${t(colors.gray[900], colors.gray[100])};\n font-family: ${fontFamily.mono};\n overflow-x: auto;\n transition:\n box-shadow 0.3s,\n background 0.3s;\n `,\n }\n}\n\nexport function useStyles() {\n const { theme } = useTheme()\n const [styles, setStyles] = createSignal(stylesFactory(theme()))\n createEffect(() => {\n setStyles(stylesFactory(theme()))\n })\n return styles\n}\n"],"names":[],"mappings":";;;;AAKA,MAAM,gBAAgB,CAAC,UAA4B;AACjD,QAAM,EAAE,QAAQ,MAAM,MAAM,OAAO,WAAW;AAC9C,QAAM,EAAE,YAAY,MAAM,SAAA,IAAa;AACvC,QAAM,MAAM,OAAO;AACnB,QAAM,IAAI,CAAC,OAAe,SAAkB,UAAU,UAAU,QAAQ;AAExE,SAAO;AAAA,IACL,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA,iBAKF,KAAK,CAAC,CAAC;AAAA;AAAA,oBAEJ,KAAK,CAAC,CAAC;AAAA;AAAA,IAEvB,YAAY;AAAA;AAAA,oBAEI,EAAE,OAAO,KAAK,GAAG,GAAG,OAAO,SAAS,GAAG,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAM3C,KAAK,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA,sBAIH,EAAE,OAAO,KAAK,GAAG,GAAG,OAAO,KAAK,GAAG,CAAC,CAAC;AAAA,oBACvC,KAAK,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA,sBAIL,EAAE,OAAO,KAAK,GAAG,GAAG,OAAO,KAAK,GAAG,CAAC,CAAC;AAAA,oBACvC,KAAK,CAAC,CAAC;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