@lobehub/ui 6.17.1 → 6.19.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 (119) hide show
  1. package/es/AgentAvatar/AgentAvatar.mjs +89 -139
  2. package/es/AgentAvatar/AgentAvatar.mjs.map +1 -1
  3. package/es/AgentAvatar/AgentAvatarPicker.d.mts +3 -0
  4. package/es/AgentAvatar/AgentAvatarPicker.mjs +109 -0
  5. package/es/AgentAvatar/AgentAvatarPicker.mjs.map +1 -0
  6. package/es/AgentAvatar/createAgentAvatarTab.d.mts +4 -0
  7. package/es/AgentAvatar/createAgentAvatarTab.mjs +46 -0
  8. package/es/AgentAvatar/createAgentAvatarTab.mjs.map +1 -0
  9. package/es/AgentAvatar/eyes.mjs +83 -0
  10. package/es/AgentAvatar/eyes.mjs.map +1 -0
  11. package/es/AgentAvatar/index.d.mts +5 -2
  12. package/es/AgentAvatar/index.mjs +4 -1
  13. package/es/AgentAvatar/liveLoop.mjs +97 -0
  14. package/es/AgentAvatar/liveLoop.mjs.map +1 -0
  15. package/es/AgentAvatar/look.mjs +193 -0
  16. package/es/AgentAvatar/look.mjs.map +1 -0
  17. package/es/AgentAvatar/painter.mjs +114 -0
  18. package/es/AgentAvatar/painter.mjs.map +1 -0
  19. package/es/AgentAvatar/pickerStyle.mjs +68 -0
  20. package/es/AgentAvatar/pickerStyle.mjs.map +1 -0
  21. package/es/AgentAvatar/scene.mjs +91 -0
  22. package/es/AgentAvatar/scene.mjs.map +1 -0
  23. package/es/AgentAvatar/shapes.mjs +215 -180
  24. package/es/AgentAvatar/shapes.mjs.map +1 -1
  25. package/es/AgentAvatar/stable.mjs +11 -1
  26. package/es/AgentAvatar/stable.mjs.map +1 -1
  27. package/es/AgentAvatar/still.mjs +39 -0
  28. package/es/AgentAvatar/still.mjs.map +1 -0
  29. package/es/AgentAvatar/stills.generated.mjs +126 -0
  30. package/es/AgentAvatar/stills.generated.mjs.map +1 -0
  31. package/es/AgentAvatar/style.mjs +13 -146
  32. package/es/AgentAvatar/style.mjs.map +1 -1
  33. package/es/AgentAvatar/type.d.mts +64 -14
  34. package/es/AgentAvatar/useLiveAvatar.mjs +91 -0
  35. package/es/AgentAvatar/useLiveAvatar.mjs.map +1 -0
  36. package/es/AgentAvatar/utils.d.mts +2 -2
  37. package/es/AgentAvatar/utils.mjs +49 -45
  38. package/es/AgentAvatar/utils.mjs.map +1 -1
  39. package/es/AgentAvatar/value.d.mts +5 -0
  40. package/es/AgentAvatar/value.mjs +18 -0
  41. package/es/AgentAvatar/value.mjs.map +1 -0
  42. package/es/AutoComplete/style.d.mts +1 -1
  43. package/es/EditorSlashMenu/atoms.mjs +1 -2
  44. package/es/EditorSlashMenu/atoms.mjs.map +1 -1
  45. package/es/EmojiPicker/EmojiPicker.mjs +27 -19
  46. package/es/EmojiPicker/EmojiPicker.mjs.map +1 -1
  47. package/es/EmojiPicker/index.d.mts +2 -2
  48. package/es/EmojiPicker/type.d.mts +24 -1
  49. package/es/brand/Lobot/Lobot.d.mts +3 -0
  50. package/es/brand/Lobot/Lobot.mjs +74 -0
  51. package/es/brand/Lobot/Lobot.mjs.map +1 -0
  52. package/es/brand/Lobot/index.d.mts +3 -0
  53. package/es/brand/Lobot/stable.mjs +15 -0
  54. package/es/brand/Lobot/stable.mjs.map +1 -0
  55. package/es/brand/Lobot/type.d.mts +18 -0
  56. package/es/brand/LobotBrandLoading/LobotBrandLoading.d.mts +11 -0
  57. package/es/brand/LobotBrandLoading/LobotBrandLoading.mjs +130 -0
  58. package/es/brand/LobotBrandLoading/LobotBrandLoading.mjs.map +1 -0
  59. package/es/brand/LobotBrandLoading/index.d.mts +3 -0
  60. package/es/brand/LobotBrandLoading/stable.mjs +13 -0
  61. package/es/brand/LobotBrandLoading/stable.mjs.map +1 -0
  62. package/es/brand/LobotBrandLoading/style.mjs +111 -0
  63. package/es/brand/LobotBrandLoading/style.mjs.map +1 -0
  64. package/es/brand/LobotBrandLoading/type.d.mts +9 -0
  65. package/es/brand/LobotBrandLoading3d/LobotBrandLoading3d.d.mts +9 -0
  66. package/es/brand/LobotBrandLoading3d/LobotBrandLoading3d.mjs +87 -0
  67. package/es/brand/LobotBrandLoading3d/LobotBrandLoading3d.mjs.map +1 -0
  68. package/es/brand/LobotBrandLoading3d/choreography.mjs +120 -0
  69. package/es/brand/LobotBrandLoading3d/choreography.mjs.map +1 -0
  70. package/es/brand/LobotBrandLoading3d/index.d.mts +3 -0
  71. package/es/brand/LobotBrandLoading3d/live.mjs +72 -0
  72. package/es/brand/LobotBrandLoading3d/live.mjs.map +1 -0
  73. package/es/brand/LobotBrandLoading3d/stable.mjs +14 -0
  74. package/es/brand/LobotBrandLoading3d/stable.mjs.map +1 -0
  75. package/es/brand/LobotBrandLoading3d/style.mjs +38 -0
  76. package/es/brand/LobotBrandLoading3d/style.mjs.map +1 -0
  77. package/es/brand/LobotBrandLoading3d/type.d.mts +9 -0
  78. package/es/brand/LobotBrandLoading3d/useLiveLoading.mjs +58 -0
  79. package/es/brand/LobotBrandLoading3d/useLiveLoading.mjs.map +1 -0
  80. package/es/brand/LobotMono/LobotMono.d.mts +8 -0
  81. package/es/brand/LobotMono/LobotMono.mjs +46 -0
  82. package/es/brand/LobotMono/LobotMono.mjs.map +1 -0
  83. package/es/brand/LobotMono/index.d.mts +3 -0
  84. package/es/brand/LobotMono/stable.mjs +9 -0
  85. package/es/brand/LobotMono/stable.mjs.map +1 -0
  86. package/es/brand/LobotMono/type.d.mts +8 -0
  87. package/es/brand/LobotText/LobotText.d.mts +4 -0
  88. package/es/brand/LobotText/LobotText.mjs +20 -0
  89. package/es/brand/LobotText/LobotText.mjs.map +1 -0
  90. package/es/brand/LobotText/index.d.mts +3 -0
  91. package/es/brand/LobotText/stable.mjs +9 -0
  92. package/es/brand/LobotText/stable.mjs.map +1 -0
  93. package/es/brand/LobotText/type.d.mts +8 -0
  94. package/es/brand/index.d.mts +16 -1
  95. package/es/brand/index.mjs +6 -1
  96. package/es/chat/ChatItem/type.d.mts +2 -2
  97. package/es/css/AgentAvatar.css +686 -199
  98. package/es/css/brand/Lobot.css +27 -0
  99. package/es/css/brand/LobotBrandLoading.css +219 -0
  100. package/es/css/brand/LobotBrandLoading3d.css +61 -0
  101. package/es/css/brand/LobotMono.css +15 -0
  102. package/es/css/brand/LobotText.css +15 -0
  103. package/es/i18n/resources/en/agentAvatar.d.mts +39 -0
  104. package/es/i18n/resources/en/agentAvatar.mjs +42 -0
  105. package/es/i18n/resources/en/agentAvatar.mjs.map +1 -0
  106. package/es/i18n/resources/en/index.d.mts +19 -18
  107. package/es/i18n/resources/en/index.mjs +3 -1
  108. package/es/i18n/resources/en/index.mjs.map +1 -1
  109. package/es/i18n/resources/zhCn/agentAvatar.d.mts +39 -0
  110. package/es/i18n/resources/zhCn/agentAvatar.mjs +42 -0
  111. package/es/i18n/resources/zhCn/agentAvatar.mjs.map +1 -0
  112. package/es/i18n/resources/zhCn/index.d.mts +19 -18
  113. package/es/i18n/resources/zhCn/index.mjs +3 -1
  114. package/es/i18n/resources/zhCn/index.mjs.map +1 -1
  115. package/es/i18n/types.d.mts +18 -17
  116. package/es/index.d.mts +48 -45
  117. package/es/index.mjs +6 -3
  118. package/es/style.css +201 -242
  119. package/package.json +3 -1
@@ -0,0 +1,120 @@
1
+ // src/brand/LobotBrandLoading3d/choreography.ts
2
+ /** Seconds of one loop. */
3
+ const LOOP_SECONDS = 3.2;
4
+ const TAU = Math.PI * 2;
5
+ const CROUCH_END = .28;
6
+ const AIR_SECONDS = .8;
7
+ const AIR_END = 1.08;
8
+ const SPIN_START = .2;
9
+ const SPIN_SECONDS = .96;
10
+ const LAND_SECONDS = .42;
11
+ const ROLL_START = 1.5;
12
+ const ROLL_SECONDS = 1.7000000000000002;
13
+ /** How far the head turns and tips while it rolls around, radians. */
14
+ const ROLL_YAW = .5;
15
+ const ROLL_PITCH = .24;
16
+ const clamp = (value) => Math.min(1, Math.max(0, value));
17
+ const smooth = (value) => {
18
+ const x = clamp(value);
19
+ return x * x * (3 - 2 * x);
20
+ };
21
+ const easeInOut = (value) => {
22
+ const x = clamp(value);
23
+ return x < .5 ? 4 * x * x * x : 1 - (-2 * x + 2) ** 3 / 2;
24
+ };
25
+ const loopTime = (time) => (time % LOOP_SECONDS + LOOP_SECONDS) % LOOP_SECONDS;
26
+ /** Share of the turn completed, 0..1. */
27
+ const spin = (u) => easeInOut((u - SPIN_START) / SPIN_SECONDS);
28
+ /** Height above the ground, 0..1, while airborne. */
29
+ const air = (u) => {
30
+ const p = clamp((u - CROUCH_END) / AIR_SECONDS);
31
+ return 4 * p * (1 - p);
32
+ };
33
+ /** Vertical stretch of the body about its base; below 1 is a squash. */
34
+ const stretch = (u) => {
35
+ const p = (u - CROUCH_END) / AIR_SECONDS;
36
+ const crouch = u < CROUCH_END ? smooth(u / CROUCH_END) : 1 - smooth(p / .16);
37
+ const landed = (u - AIR_END) / LAND_SECONDS;
38
+ const landing = landed > 0 && landed < 1 ? Math.exp(-5 * landed) * Math.cos(3 * Math.PI * landed) * smooth(landed / .1) : 0;
39
+ return 1 - .13 * crouch + .07 * Math.sin(Math.PI * clamp(p)) - .14 * landing;
40
+ };
41
+ /** The head rolling around: its angle and how far it has leaned out, 0..1. */
42
+ const roll = (u) => {
43
+ const w = clamp((u - ROLL_START) / ROLL_SECONDS);
44
+ return {
45
+ angle: TAU * w,
46
+ lean: smooth(w / .22) * smooth((1 - w) / .22)
47
+ };
48
+ };
49
+ /** The body pose and eyes at `time` seconds. */
50
+ const loadingLook = (time) => {
51
+ const u = loopTime(time);
52
+ const sy = stretch(u);
53
+ const turn = spin(u);
54
+ const { angle, lean } = roll(u);
55
+ const crouch = u < CROUCH_END ? smooth(u / CROUCH_END) : 0;
56
+ const flying = air(u);
57
+ return {
58
+ arc: smooth((u - AIR_END - .03) / .1) * (1 - smooth((u - ROLL_START - .06) / .12)),
59
+ gazeMix: 1,
60
+ gazeX: .85 * lean * Math.sin(angle),
61
+ gazeY: -.65 * crouch - .4 * flying - .7 * lean * Math.cos(angle),
62
+ lift: -10 * flying,
63
+ pitch: -.1 * crouch + ROLL_PITCH * lean * Math.cos(angle),
64
+ roll: 3.5 * lean * Math.sin(angle),
65
+ shift: 0,
66
+ slit: 0,
67
+ squintL: 0,
68
+ squintR: 0,
69
+ sx: 1 - .6 * (sy - 1),
70
+ sy,
71
+ wide: .45 * flying,
72
+ yaw: (turn < 1 ? TAU * turn : 0) + ROLL_YAW * lean * Math.sin(angle)
73
+ };
74
+ };
75
+ /**
76
+ * The orbit of the two bubbles: the logo's own bubbles are the ends of its long axis, the small
77
+ * one on the left and the large one on the right. A bubble rises over the head from the left,
78
+ * grows on the way, and returns behind the body.
79
+ */
80
+ const ORBIT = {
81
+ /** Half of the long and short axis. */
82
+ a: 23.28,
83
+ b: 9.2,
84
+ /** Tilt of the long axis: its right end sits higher. */
85
+ cos: Math.cos(-10.572 * Math.PI / 180),
86
+ sin: Math.sin(-10.572 * Math.PI / 180),
87
+ x: 50.23,
88
+ y: 18.01
89
+ };
90
+ const BUBBLE_SMALL = 3.32;
91
+ /** Turns of the orbit per loop, on top of the one the head's turn drags along. */
92
+ const ORBIT_TURNS = 2;
93
+ /** The dragged turn is spread over this window, so the bubbles speed up without blurring. */
94
+ const DRAG_START = .1;
95
+ const DRAG_SECONDS = 1.6;
96
+ /** The bubbles trail the head by this long, so they read as loose rather than attached. */
97
+ const FOLLOW_LAG = .07;
98
+ /** The body squashes about this height, and the head top the bubbles ride on is near 16. */
99
+ const BASE_Y = 90;
100
+ /** The two bubbles at `time` seconds. They are drawn behind the body. */
101
+ const loadingBubbles = (time) => {
102
+ const u = loopTime(time);
103
+ const lagged = loopTime(time - FOLLOW_LAG);
104
+ const phase = TAU * (ORBIT_TURNS * u / LOOP_SECONDS + smooth((u - DRAG_START) / DRAG_SECONDS));
105
+ const reach = 1 + .2 * air(u);
106
+ const top = -10 * air(lagged) + (BASE_Y - ORBIT.y) * (1 - stretch(lagged));
107
+ const bubble = (theta) => {
108
+ const along = -ORBIT.a * reach * Math.cos(theta);
109
+ const across = -ORBIT.b * reach * Math.sin(theta);
110
+ return {
111
+ r: BUBBLE_SMALL + 2.4200000000000004 * (1 - Math.cos(theta)) / 2,
112
+ x: ORBIT.x + along * ORBIT.cos - across * ORBIT.sin,
113
+ y: ORBIT.y + top + along * ORBIT.sin + across * ORBIT.cos
114
+ };
115
+ };
116
+ return [bubble(phase), bubble(phase + Math.PI)];
117
+ };
118
+ export { LOOP_SECONDS, loadingBubbles, loadingLook };
119
+
120
+ //# sourceMappingURL=choreography.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"choreography.mjs","names":[],"sources":["../../../src/brand/LobotBrandLoading3d/choreography.ts"],"sourcesContent":["/**\n * The loader's loop as pure functions of time, so a frame can be drawn (and tested) for any\n * moment. One loop is a crouch, a jump with a full turn of the head, a landing that squashes\n * and rebounds into a smile, and then the head rolling once around to look about.\n *\n * Everything is in the 100 × 100 canvas of `AgentAvatar`, whose `lobot` shape and implied\n * volume draw the body.\n */\nimport type { AvatarLook } from '@/AgentAvatar/look';\n\n/** Seconds of one loop. */\nexport const LOOP_SECONDS = 3.2;\n\nconst TAU = Math.PI * 2;\n\nconst CROUCH_END = 0.28;\nconst AIR_SECONDS = 0.8;\nconst AIR_END = CROUCH_END + AIR_SECONDS;\nconst SPIN_START = 0.2;\nconst SPIN_SECONDS = 0.96;\nconst LAND_SECONDS = 0.42;\nconst ROLL_START = 1.5;\nconst ROLL_SECONDS = LOOP_SECONDS - ROLL_START;\n\n/** Height of the jump, canvas units. */\nconst JUMP_HEIGHT = 10;\n/** How far the head turns and tips while it rolls around, radians. */\nconst ROLL_YAW = 0.5;\nconst ROLL_PITCH = 0.24;\n\nconst clamp = (value: number) => Math.min(1, Math.max(0, value));\nconst smooth = (value: number) => {\n const x = clamp(value);\n return x * x * (3 - 2 * x);\n};\nconst easeInOut = (value: number) => {\n const x = clamp(value);\n return x < 0.5 ? 4 * x * x * x : 1 - (-2 * x + 2) ** 3 / 2;\n};\nconst loopTime = (time: number) => ((time % LOOP_SECONDS) + LOOP_SECONDS) % LOOP_SECONDS;\n\n/** Share of the turn completed, 0..1. */\nconst spin = (u: number) => easeInOut((u - SPIN_START) / SPIN_SECONDS);\n\n/** Height above the ground, 0..1, while airborne. */\nconst air = (u: number) => {\n const p = clamp((u - CROUCH_END) / AIR_SECONDS);\n return 4 * p * (1 - p);\n};\n\n/** Vertical stretch of the body about its base; below 1 is a squash. */\nconst stretch = (u: number) => {\n const p = (u - CROUCH_END) / AIR_SECONDS;\n const crouch = u < CROUCH_END ? smooth(u / CROUCH_END) : 1 - smooth(p / 0.16);\n const landed = (u - AIR_END) / LAND_SECONDS;\n const landing =\n landed > 0 && landed < 1\n ? Math.exp(-5 * landed) * Math.cos(3 * Math.PI * landed) * smooth(landed / 0.1)\n : 0;\n return 1 - 0.13 * crouch + 0.07 * Math.sin(Math.PI * clamp(p)) - 0.14 * landing;\n};\n\n/** The head rolling around: its angle and how far it has leaned out, 0..1. */\nconst roll = (u: number) => {\n const w = clamp((u - ROLL_START) / ROLL_SECONDS);\n return { angle: TAU * w, lean: smooth(w / 0.22) * smooth((1 - w) / 0.22) };\n};\n\n/** The body pose and eyes at `time` seconds. */\nexport const loadingLook = (time: number): AvatarLook => {\n const u = loopTime(time);\n const sy = stretch(u);\n const turn = spin(u);\n const { angle, lean } = roll(u);\n const crouch = u < CROUCH_END ? smooth(u / CROUCH_END) : 0;\n const flying = air(u);\n // A contented squint from the landing until the head starts to roll.\n const smile = smooth((u - AIR_END - 0.03) / 0.1) * (1 - smooth((u - ROLL_START - 0.06) / 0.12));\n\n return {\n arc: smile,\n gazeMix: 1,\n gazeX: 0.85 * lean * Math.sin(angle),\n gazeY: -0.65 * crouch - 0.4 * flying - 0.7 * lean * Math.cos(angle),\n lift: -JUMP_HEIGHT * flying,\n pitch: -0.1 * crouch + ROLL_PITCH * lean * Math.cos(angle),\n roll: 3.5 * lean * Math.sin(angle),\n shift: 0,\n slit: 0,\n squintL: 0,\n squintR: 0,\n sx: 1 - 0.6 * (sy - 1),\n sy,\n wide: 0.45 * flying,\n yaw: (turn < 1 ? TAU * turn : 0) + ROLL_YAW * lean * Math.sin(angle),\n };\n};\n\nexport interface LoadingBubble {\n r: number;\n x: number;\n y: number;\n}\n\n/**\n * The orbit of the two bubbles: the logo's own bubbles are the ends of its long axis, the small\n * one on the left and the large one on the right. A bubble rises over the head from the left,\n * grows on the way, and returns behind the body.\n */\nconst ORBIT = {\n /** Half of the long and short axis. */\n a: 23.28,\n b: 9.2,\n /** Tilt of the long axis: its right end sits higher. */\n cos: Math.cos((-10.572 * Math.PI) / 180),\n sin: Math.sin((-10.572 * Math.PI) / 180),\n x: 50.23,\n y: 18.01,\n};\nconst BUBBLE_SMALL = 3.32;\nconst BUBBLE_LARGE = 5.74;\n/** Turns of the orbit per loop, on top of the one the head's turn drags along. */\nconst ORBIT_TURNS = 2;\n/** The dragged turn is spread over this window, so the bubbles speed up without blurring. */\nconst DRAG_START = 0.1;\nconst DRAG_SECONDS = 1.6;\n/** The bubbles trail the head by this long, so they read as loose rather than attached. */\nconst FOLLOW_LAG = 0.07;\n/** The body squashes about this height, and the head top the bubbles ride on is near 16. */\nconst BASE_Y = 90;\n\n/** The two bubbles at `time` seconds. They are drawn behind the body. */\nexport const loadingBubbles = (time: number): [LoadingBubble, LoadingBubble] => {\n const u = loopTime(time);\n const lagged = loopTime(time - FOLLOW_LAG);\n const phase = TAU * ((ORBIT_TURNS * u) / LOOP_SECONDS + smooth((u - DRAG_START) / DRAG_SECONDS));\n // Flung outward while the head turns in the air.\n const reach = 1 + 0.2 * air(u);\n const top = -JUMP_HEIGHT * air(lagged) + (BASE_Y - ORBIT.y) * (1 - stretch(lagged));\n\n const bubble = (theta: number): LoadingBubble => {\n const along = -ORBIT.a * reach * Math.cos(theta);\n const across = -ORBIT.b * reach * Math.sin(theta);\n return {\n r: BUBBLE_SMALL + ((BUBBLE_LARGE - BUBBLE_SMALL) * (1 - Math.cos(theta))) / 2,\n x: ORBIT.x + along * ORBIT.cos - across * ORBIT.sin,\n y: ORBIT.y + top + along * ORBIT.sin + across * ORBIT.cos,\n };\n };\n\n return [bubble(phase), bubble(phase + Math.PI)];\n};\n"],"mappings":"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"}
@@ -0,0 +1,3 @@
1
+ import LobotBrandLoading3d from "./LobotBrandLoading3d.mjs";
2
+ import { LobotBrandLoading3dProps } from "./type.mjs";
3
+ export { type LobotBrandLoading3dProps, LobotBrandLoading3d as default };
@@ -0,0 +1,72 @@
1
+ import { requestFrame, subscribeFrames } from "open-bot-avatar/dom";
2
+ import { createPainter } from "../../AgentAvatar/painter.mjs";
3
+ import { buildAgentAvatarScene } from "../../AgentAvatar/scene.mjs";
4
+ import { loadingBubbles, loadingLook } from "./choreography.mjs";
5
+ // src/brand/LobotBrandLoading3d/live.ts
6
+ /**
7
+ * The animated loader: the volume engine of `AgentAvatar` driven by the loader's own
8
+ * choreography. Loaded on demand, so the still mark never pays for the engine.
9
+ */
10
+ const SVG_NS = "http://www.w3.org/2000/svg";
11
+ /** More volume than an avatar at rest needs, so the head stays round while it turns. */
12
+ const DEPTH = 11;
13
+ const VIEW_MARGIN = "100px";
14
+ const EYE_COLORS = {
15
+ pupil: "var(--lobe-lobot-loading-pupil)",
16
+ sclera: "var(--lobe-lobot-loading-sclera)"
17
+ };
18
+ const sceneAt = (time) => buildAgentAvatarScene("lobot", {
19
+ depth: DEPTH,
20
+ look: loadingLook(time),
21
+ time
22
+ });
23
+ /** Build the volume ahead of the first frame; the engine caches it. */
24
+ const warm = () => {
25
+ sceneAt(0);
26
+ };
27
+ const round = (value) => String(Math.round(value * 100) / 100);
28
+ /** Paint the first frame synchronously and keep animating until the returned stop is called. */
29
+ const runLobotLoading = (layers, idPrefix) => {
30
+ const svg = layers.defs.ownerSVGElement;
31
+ const painter = createPainter(layers, idPrefix, EYE_COLORS);
32
+ const bubbles = [0, 1].map(() => {
33
+ const circle = document.createElementNS(SVG_NS, "circle");
34
+ layers.bubbles.append(circle);
35
+ return circle;
36
+ });
37
+ const startedAt = performance.now();
38
+ let visible = true;
39
+ const draw = () => {
40
+ const time = (performance.now() - startedAt) / 1e3;
41
+ painter.paint({
42
+ ...sceneAt(time),
43
+ extra: null
44
+ });
45
+ for (const [index, { r, x, y }] of loadingBubbles(time).entries()) {
46
+ const circle = bubbles[index];
47
+ circle.setAttribute("cx", round(x));
48
+ circle.setAttribute("cy", round(y));
49
+ circle.setAttribute("r", round(r));
50
+ }
51
+ };
52
+ const observer = typeof IntersectionObserver === "undefined" ? null : new IntersectionObserver((entries) => {
53
+ visible = entries.at(-1).isIntersecting;
54
+ if (visible) requestFrame();
55
+ }, { rootMargin: VIEW_MARGIN });
56
+ observer?.observe(svg);
57
+ draw();
58
+ const unsubscribe = subscribeFrames({ draw: () => {
59
+ if (!visible) return false;
60
+ draw();
61
+ return true;
62
+ } });
63
+ return () => {
64
+ unsubscribe();
65
+ observer?.disconnect();
66
+ painter.destroy();
67
+ for (const circle of bubbles) circle.remove();
68
+ };
69
+ };
70
+ export { runLobotLoading, warm };
71
+
72
+ //# sourceMappingURL=live.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"live.mjs","names":[],"sources":["../../../src/brand/LobotBrandLoading3d/live.ts"],"sourcesContent":["/**\n * The animated loader: the volume engine of `AgentAvatar` driven by the loader's own\n * choreography. Loaded on demand, so the still mark never pays for the engine.\n */\nimport { requestFrame, subscribeFrames } from 'open-bot-avatar/dom';\n\nimport { type AgentAvatarLayers, createPainter } from '@/AgentAvatar/painter';\nimport { buildAgentAvatarScene } from '@/AgentAvatar/scene';\n\nimport { loadingBubbles, loadingLook } from './choreography';\n\nconst SVG_NS = 'http://www.w3.org/2000/svg';\n/** More volume than an avatar at rest needs, so the head stays round while it turns. */\nconst DEPTH = 11;\nconst VIEW_MARGIN = '100px';\nconst EYE_COLORS = {\n pupil: 'var(--lobe-lobot-loading-pupil)',\n sclera: 'var(--lobe-lobot-loading-sclera)',\n};\n\nexport interface LobotLoadingLayers extends AgentAvatarLayers {\n bubbles: SVGGElement;\n}\n\nconst sceneAt = (time: number) =>\n buildAgentAvatarScene('lobot', { depth: DEPTH, look: loadingLook(time), time });\n\n/** Build the volume ahead of the first frame; the engine caches it. */\nexport const warm = () => {\n sceneAt(0);\n};\n\nconst round = (value: number) => String(Math.round(value * 100) / 100);\n\n/** Paint the first frame synchronously and keep animating until the returned stop is called. */\nexport const runLobotLoading = (layers: LobotLoadingLayers, idPrefix: string) => {\n const svg = layers.defs.ownerSVGElement!;\n const painter = createPainter(layers, idPrefix, EYE_COLORS);\n const bubbles = [0, 1].map(() => {\n const circle = document.createElementNS(SVG_NS, 'circle');\n layers.bubbles.append(circle);\n return circle;\n });\n const startedAt = performance.now();\n let visible = true;\n\n const draw = () => {\n const time = (performance.now() - startedAt) / 1000;\n // The logo's bubbles are drawn by the orbit, not on the face plane.\n painter.paint({ ...sceneAt(time), extra: null });\n for (const [index, { r, x, y }] of loadingBubbles(time).entries()) {\n const circle = bubbles[index];\n circle.setAttribute('cx', round(x));\n circle.setAttribute('cy', round(y));\n circle.setAttribute('r', round(r));\n }\n };\n\n const observer =\n typeof IntersectionObserver === 'undefined'\n ? null\n : new IntersectionObserver(\n (entries) => {\n visible = entries.at(-1)!.isIntersecting;\n // The shared loop sleeps once nothing draws.\n if (visible) requestFrame();\n },\n { rootMargin: VIEW_MARGIN },\n );\n observer?.observe(svg);\n\n // Paint before the browser does, so the still mark hands over without an empty frame.\n draw();\n const unsubscribe = subscribeFrames({\n draw: () => {\n if (!visible) return false;\n draw();\n return true;\n },\n });\n\n return () => {\n unsubscribe();\n observer?.disconnect();\n painter.destroy();\n for (const circle of bubbles) circle.remove();\n };\n};\n"],"mappings":";;;;;;;;;AAWA,MAAM,SAAS;;AAEf,MAAM,QAAQ;AACd,MAAM,cAAc;AACpB,MAAM,aAAa;CACjB,OAAO;CACP,QAAQ;AACV;AAMA,MAAM,WAAW,SACf,sBAAsB,SAAS;CAAE,OAAO;CAAO,MAAM,YAAY,IAAI;CAAG;AAAK,CAAC;;AAGhF,MAAa,aAAa;CACxB,QAAQ,CAAC;AACX;AAEA,MAAM,SAAS,UAAkB,OAAO,KAAK,MAAM,QAAQ,GAAG,IAAI,GAAG;;AAGrE,MAAa,mBAAmB,QAA4B,aAAqB;CAC/E,MAAM,MAAM,OAAO,KAAK;CACxB,MAAM,UAAU,cAAc,QAAQ,UAAU,UAAU;CAC1D,MAAM,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,UAAU;EAC/B,MAAM,SAAS,SAAS,gBAAgB,QAAQ,QAAQ;EACxD,OAAO,QAAQ,OAAO,MAAM;EAC5B,OAAO;CACT,CAAC;CACD,MAAM,YAAY,YAAY,IAAI;CAClC,IAAI,UAAU;CAEd,MAAM,aAAa;EACjB,MAAM,QAAQ,YAAY,IAAI,IAAI,aAAa;EAE/C,QAAQ,MAAM;GAAE,GAAG,QAAQ,IAAI;GAAG,OAAO;EAAK,CAAC;EAC/C,KAAK,MAAM,CAAC,OAAO,EAAE,GAAG,GAAG,QAAQ,eAAe,IAAI,CAAC,CAAC,QAAQ,GAAG;GACjE,MAAM,SAAS,QAAQ;GACvB,OAAO,aAAa,MAAM,MAAM,CAAC,CAAC;GAClC,OAAO,aAAa,MAAM,MAAM,CAAC,CAAC;GAClC,OAAO,aAAa,KAAK,MAAM,CAAC,CAAC;EACnC;CACF;CAEA,MAAM,WACJ,OAAO,yBAAyB,cAC5B,OACA,IAAI,sBACD,YAAY;EACX,UAAU,QAAQ,GAAG,EAAE,CAAC,CAAE;EAE1B,IAAI,SAAS,aAAa;CAC5B,GACA,EAAE,YAAY,YAAY,CAC5B;CACN,UAAU,QAAQ,GAAG;CAGrB,KAAK;CACL,MAAM,cAAc,gBAAgB,EAClC,YAAY;EACV,IAAI,CAAC,SAAS,OAAO;EACrB,KAAK;EACL,OAAO;CACT,EACF,CAAC;CAED,aAAa;EACX,YAAY;EACZ,UAAU,WAAW;EACrB,QAAQ,QAAQ;EAChB,KAAK,MAAM,UAAU,SAAS,OAAO,OAAO;CAC9C;AACF"}
@@ -0,0 +1,14 @@
1
+ import { stableClasses } from "../../utils/bem.mjs";
2
+ // src/brand/LobotBrandLoading3d/stable.ts
3
+ const brandLobotBrandLoading3dClasses = stableClasses({
4
+ block: "brand-lobot-brand-loading3d",
5
+ dataAttributes: ["animated"],
6
+ elements: [
7
+ "body",
8
+ "bubbles",
9
+ "eyes"
10
+ ]
11
+ });
12
+ export { brandLobotBrandLoading3dClasses };
13
+
14
+ //# sourceMappingURL=stable.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stable.mjs","names":[],"sources":["../../../src/brand/LobotBrandLoading3d/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const brandLobotBrandLoading3dClasses = stableClasses({\n block: 'brand-lobot-brand-loading3d',\n dataAttributes: ['animated'],\n elements: ['body', 'bubbles', 'eyes'],\n});\n"],"mappings":";;AAEA,MAAa,kCAAkC,cAAc;CAC3D,OAAO;CACP,gBAAgB,CAAC,UAAU;CAC3B,UAAU;EAAC;EAAQ;EAAW;CAAM;AACtC,CAAC"}
@@ -0,0 +1,38 @@
1
+ // src/brand/LobotBrandLoading3d/style.ts
2
+ /**
3
+ * A watermark: every part is a gray close to the page. The eye white is lighter than the body
4
+ * and the pupil darker in both themes, so the face reads the same way on light and dark.
5
+ */
6
+ const styles = {
7
+ dark: {
8
+ "--lobe-lobot-loading-pupil": "lb7g6ajo",
9
+ "--lobe-lobot-loading-sclera": "lb1rp6nw6",
10
+ $$css: true
11
+ },
12
+ pupil: {
13
+ kDwRjp: "lb1dsjney",
14
+ $$css: true
15
+ },
16
+ root: {
17
+ "--lobe-lobot-loading-color": "lbgu7ii9",
18
+ "--lobe-lobot-loading-pupil": "lb8mhbma",
19
+ "--lobe-lobot-loading-sclera": "lb1y6263f",
20
+ kDwRjp: "lb15249p1",
21
+ kUk6DE: "lb1okw0bk",
22
+ kLWn49: "lbo5v014",
23
+ $$css: true
24
+ },
25
+ sclera: {
26
+ kDwRjp: "lbdcdv1x",
27
+ $$css: true
28
+ },
29
+ smile: {
30
+ kDwRjp: "lbbh8q5q",
31
+ kjVXCG: "lbu71wa7",
32
+ kU5bRw: "lb1owpc8m",
33
+ $$css: true
34
+ }
35
+ };
36
+ export { styles };
37
+
38
+ //# sourceMappingURL=style.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.mjs","names":[],"sources":["../../../src/brand/LobotBrandLoading3d/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\n\n/**\n * A watermark: every part is a gray close to the page. The eye white is lighter than the body\n * and the pupil darker in both themes, so the face reads the same way on light and dark.\n */\nexport const styles = stylex.create({\n dark: {\n '--lobe-lobot-loading-pupil': cssVar.gray2,\n '--lobe-lobot-loading-sclera': cssVar.gray6,\n },\n pupil: {\n fill: 'var(--lobe-lobot-loading-pupil)',\n },\n root: {\n '--lobe-lobot-loading-color': cssVar.gray4,\n '--lobe-lobot-loading-pupil': cssVar.gray6,\n '--lobe-lobot-loading-sclera': cssVar.gray1,\n 'fill': 'var(--lobe-lobot-loading-color)',\n 'flex': 'none',\n 'lineHeight': 1,\n },\n sclera: {\n fill: 'var(--lobe-lobot-loading-sclera)',\n },\n smile: {\n fill: 'none',\n stroke: 'var(--lobe-lobot-loading-sclera)',\n strokeLinecap: 'round',\n },\n});\n"],"mappings":";;;;;AAQA,MAAa,SAAS;CACpB,MAAM;EACJ,8BAA8B;EAC9B,+BAA+B;EAC/B,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,8BAA8B;EAC9B,8BAA8B;EAC9B,+BAA+B;EAC/B,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,QAAQ;EACN,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
@@ -0,0 +1,9 @@
1
+ import { SvgProps } from "../../types/index.mjs";
2
+ export interface LobotBrandLoading3dProps extends SvgProps {
3
+ /**
4
+ * Width and height of the box, as px or any CSS length. The mark rests in the lower part of
5
+ * the box, which leaves room above it for the jump.
6
+ * @default 64
7
+ */
8
+ size?: number | string;
9
+ }
@@ -0,0 +1,58 @@
1
+ "use client";
2
+ import { useEffect, useLayoutEffect, useRef, useState } from "react";
3
+ // src/brand/LobotBrandLoading3d/useLiveLoading.ts
4
+ const useIsomorphicLayoutEffect = typeof window === "undefined" ? useEffect : useLayoutEffect;
5
+ let liveModule;
6
+ let warmed = false;
7
+ /**
8
+ * Runs the animated loader. Returns whether the painter owns the layers; until the engine is
9
+ * loaded (and whenever `enabled` is off) React renders the still mark into them.
10
+ */
11
+ const useLiveLoading = (enabled, idPrefix) => {
12
+ const [ready, setReady] = useState(false);
13
+ const live = enabled && ready;
14
+ const body = useRef(null);
15
+ const bubbles = useRef(null);
16
+ const defs = useRef(null);
17
+ const eyes = useRef(null);
18
+ useIsomorphicLayoutEffect(() => {
19
+ if (!enabled) {
20
+ setReady(false);
21
+ return;
22
+ }
23
+ if (warmed) {
24
+ setReady(true);
25
+ return;
26
+ }
27
+ let cancelled = false;
28
+ import("./live.mjs").then((module) => {
29
+ if (cancelled) return;
30
+ liveModule = module;
31
+ module.warm();
32
+ warmed = true;
33
+ setReady(true);
34
+ }).catch(() => {});
35
+ return () => {
36
+ cancelled = true;
37
+ };
38
+ }, [enabled]);
39
+ useIsomorphicLayoutEffect(() => {
40
+ if (!live || !liveModule) return;
41
+ return liveModule.runLobotLoading({
42
+ body: body.current,
43
+ bubbles: bubbles.current,
44
+ defs: defs.current,
45
+ eyes: eyes.current
46
+ }, idPrefix);
47
+ }, [live, idPrefix]);
48
+ return {
49
+ body,
50
+ bubbles,
51
+ defs,
52
+ eyes,
53
+ live
54
+ };
55
+ };
56
+ export { useLiveLoading };
57
+
58
+ //# sourceMappingURL=useLiveLoading.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLiveLoading.mjs","names":[],"sources":["../../../src/brand/LobotBrandLoading3d/useLiveLoading.ts"],"sourcesContent":["'use client';\n\nimport { useEffect, useLayoutEffect, useRef, useState } from 'react';\n\nimport type { LobotLoadingLayers } from './live';\n\nconst useIsomorphicLayoutEffect = typeof window === 'undefined' ? useEffect : useLayoutEffect;\n\ntype LiveModule = typeof import('./live');\n\nlet liveModule: LiveModule | undefined;\nlet warmed = false;\n\n/**\n * Runs the animated loader. Returns whether the painter owns the layers; until the engine is\n * loaded (and whenever `enabled` is off) React renders the still mark into them.\n */\nexport const useLiveLoading = (enabled: boolean, idPrefix: string) => {\n const [ready, setReady] = useState(false);\n const live = enabled && ready;\n const body = useRef<SVGGElement>(null);\n const bubbles = useRef<SVGGElement>(null);\n const defs = useRef<SVGDefsElement>(null);\n const eyes = useRef<SVGGElement>(null);\n\n useIsomorphicLayoutEffect(() => {\n if (!enabled) {\n setReady(false);\n return;\n }\n if (warmed) {\n setReady(true);\n return;\n }\n let cancelled = false;\n // An engine that fails to load leaves the loader on its still mark.\n void import('./live')\n .then((module) => {\n if (cancelled) return;\n liveModule = module;\n module.warm();\n warmed = true;\n setReady(true);\n })\n .catch(() => {});\n return () => {\n cancelled = true;\n };\n }, [enabled]);\n\n useIsomorphicLayoutEffect(() => {\n if (!live || !liveModule) return;\n return liveModule.runLobotLoading(\n {\n body: body.current,\n bubbles: bubbles.current,\n defs: defs.current,\n eyes: eyes.current,\n } as LobotLoadingLayers,\n idPrefix,\n );\n }, [live, idPrefix]);\n\n return { body, bubbles, defs, eyes, live };\n};\n"],"mappings":";;;AAMA,MAAM,4BAA4B,OAAO,WAAW,cAAc,YAAY;AAI9E,IAAI;AACJ,IAAI,SAAS;;;;;AAMb,MAAa,kBAAkB,SAAkB,aAAqB;CACpE,MAAM,CAAC,OAAO,YAAY,SAAS,KAAK;CACxC,MAAM,OAAO,WAAW;CACxB,MAAM,OAAO,OAAoB,IAAI;CACrC,MAAM,UAAU,OAAoB,IAAI;CACxC,MAAM,OAAO,OAAuB,IAAI;CACxC,MAAM,OAAO,OAAoB,IAAI;CAErC,gCAAgC;EAC9B,IAAI,CAAC,SAAS;GACZ,SAAS,KAAK;GACd;EACF;EACA,IAAI,QAAQ;GACV,SAAS,IAAI;GACb;EACF;EACA,IAAI,YAAY;EAEX,OAAO,aAAS,CAClB,MAAM,WAAW;GAChB,IAAI,WAAW;GACf,aAAa;GACb,OAAO,KAAK;GACZ,SAAS;GACT,SAAS,IAAI;EACf,CAAC,CAAC,CACD,YAAY,CAAC,CAAC;EACjB,aAAa;GACX,YAAY;EACd;CACF,GAAG,CAAC,OAAO,CAAC;CAEZ,gCAAgC;EAC9B,IAAI,CAAC,QAAQ,CAAC,YAAY;EAC1B,OAAO,WAAW,gBAChB;GACE,MAAM,KAAK;GACX,SAAS,QAAQ;GACjB,MAAM,KAAK;GACX,MAAM,KAAK;EACb,GACA,QACF;CACF,GAAG,CAAC,MAAM,QAAQ,CAAC;CAEnB,OAAO;EAAE;EAAM;EAAS;EAAM;EAAM;CAAK;AAC3C"}
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ import { LobotMonoProps } from "./type.mjs";
3
+ /**
4
+ * The Lobot mark, ported from `@lobehub/icons` (`Lobot`). The brand keeps a black body with
5
+ * a white outline in both themes, so the fills are fixed instead of following `currentColor`.
6
+ */
7
+ declare const LobotMono: FC<LobotMonoProps>;
8
+ export { LobotMono as default };
@@ -0,0 +1,46 @@
1
+ import clsx$1 from "clsx";
2
+ import { styles } from "../components/style.mjs";
3
+ import { styleProps } from "../../styles/stylex/props.mjs";
4
+ import { brandLobotMonoClasses } from "./stable.mjs";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ // src/brand/LobotMono/LobotMono.tsx
7
+ /**
8
+ * The Lobot mark, ported from `@lobehub/icons` (`Lobot`). The brand keeps a black body with
9
+ * a white outline in both themes, so the fills are fixed instead of following `currentColor`.
10
+ */
11
+ const LobotMono = ({ size = "1em", className, style, ...rest }) => /* @__PURE__ */ jsxs("svg", {
12
+ fill: "none",
13
+ height: size,
14
+ viewBox: "0 0 24 24",
15
+ width: size,
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ ...styleProps(styles.svg, clsx$1(brandLobotMonoClasses(), className), style),
18
+ ...rest,
19
+ children: [
20
+ /* @__PURE__ */ jsx("title", { children: "Lobot" }),
21
+ /* @__PURE__ */ jsx("path", {
22
+ d: "M17.417 0a2.764 2.764 0 0 1 2.234 4.39c2.24.722 3.64 3.027 3.308 5.433a5.1 5.1 0 0 1-.794 2.12c.19.739.292 1.51.292 2.301 0 5.46-4.733 9.723-10.372 9.756h-.067C6.35 24 1.58 19.725 1.58 14.244l.002-.158a5.05 5.05 0 0 1-1.5-4.353C.362 7.697 1.82 6.065 3.685 5.56a2.1 2.1 0 0 1-.09-.589v-.055a2.146 2.146 0 0 1 2.146-2.118h.028c.75.01 1.409.405 1.785.997a6.2 6.2 0 0 1 5.099-1.619c.718.1 1.39.317 2 .63v-.041A2.764 2.764 0 0 1 17.417 0",
23
+ fill: "#fff"
24
+ }),
25
+ /* @__PURE__ */ jsx("path", {
26
+ d: "M7.064 7.139c.555-2.402 2.89-4.023 5.412-3.675a4.89 4.89 0 0 1 3.71 2.641 3.46 3.46 0 0 1 2.475-.612c1.943.268 3.29 2.128 3.011 4.153a3.8 3.8 0 0 1-.942 2.034 7.9 7.9 0 0 1 .427 2.565c0 4.67-4.091 8.456-9.138 8.456-5.048 0-9.14-3.786-9.14-8.456q0-.378.036-.746c-1.103-.754-1.747-2.128-1.545-3.587.28-2.026 2.08-3.45 4.022-3.183a3.4 3.4 0 0 1 1.443.55z",
27
+ fill: "#000"
28
+ }),
29
+ /* @__PURE__ */ jsx("path", {
30
+ d: "M5.742 4.098a.846.846 0 1 1 0 1.69.846.846 0 0 1 0-1.69M17.417 1.3a1.463 1.463 0 1 1 0 2.928 1.463 1.463 0 0 1 0-2.927",
31
+ fill: "#000"
32
+ }),
33
+ /* @__PURE__ */ jsx("path", {
34
+ d: "M9.124 11.057c1.473 0 2.667 1.368 2.667 3.057s-1.194 3.057-2.667 3.057-2.667-1.369-2.667-3.057c0-1.689 1.194-3.057 2.667-3.057m6.83 0c1.472 0 2.666 1.368 2.666 3.057s-1.194 3.057-2.666 3.057c-1.473 0-2.667-1.369-2.667-3.057 0-1.689 1.194-3.057 2.667-3.057",
35
+ fill: "#fff"
36
+ }),
37
+ /* @__PURE__ */ jsx("path", {
38
+ d: "M9.611 13.008c.773 0 1.399.699 1.399 1.56 0 .863-.626 1.562-1.399 1.562-.772 0-1.398-.699-1.398-1.561s.626-1.561 1.398-1.561m5.919 0c.773 0 1.399.699 1.399 1.56 0 .863-.626 1.562-1.399 1.562-.772 0-1.398-.699-1.398-1.561s.626-1.561 1.398-1.561",
39
+ fill: "#000"
40
+ })
41
+ ]
42
+ });
43
+ LobotMono.displayName = "LobotMono";
44
+ export { LobotMono as default };
45
+
46
+ //# sourceMappingURL=LobotMono.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LobotMono.mjs","names":["clsx"],"sources":["../../../src/brand/LobotMono/LobotMono.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { FC } from 'react';\n\nimport { styles } from '@/brand/components/style';\nimport { styleProps } from '@/styles/stylex/props';\n\nimport { brandLobotMonoClasses } from './stable';\nimport type { LobotMonoProps } from './type';\n\n/**\n * The Lobot mark, ported from `@lobehub/icons` (`Lobot`). The brand keeps a black body with\n * a white outline in both themes, so the fills are fixed instead of following `currentColor`.\n */\nconst LobotMono: FC<LobotMonoProps> = ({ size = '1em', className, style, ...rest }) => (\n <svg\n fill=\"none\"\n height={size}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...styleProps(styles.svg, clsx(brandLobotMonoClasses(), className), style)}\n {...rest}\n >\n <title>Lobot</title>\n <path\n d=\"M17.417 0a2.764 2.764 0 0 1 2.234 4.39c2.24.722 3.64 3.027 3.308 5.433a5.1 5.1 0 0 1-.794 2.12c.19.739.292 1.51.292 2.301 0 5.46-4.733 9.723-10.372 9.756h-.067C6.35 24 1.58 19.725 1.58 14.244l.002-.158a5.05 5.05 0 0 1-1.5-4.353C.362 7.697 1.82 6.065 3.685 5.56a2.1 2.1 0 0 1-.09-.589v-.055a2.146 2.146 0 0 1 2.146-2.118h.028c.75.01 1.409.405 1.785.997a6.2 6.2 0 0 1 5.099-1.619c.718.1 1.39.317 2 .63v-.041A2.764 2.764 0 0 1 17.417 0\"\n fill=\"#fff\"\n />\n <path\n d=\"M7.064 7.139c.555-2.402 2.89-4.023 5.412-3.675a4.89 4.89 0 0 1 3.71 2.641 3.46 3.46 0 0 1 2.475-.612c1.943.268 3.29 2.128 3.011 4.153a3.8 3.8 0 0 1-.942 2.034 7.9 7.9 0 0 1 .427 2.565c0 4.67-4.091 8.456-9.138 8.456-5.048 0-9.14-3.786-9.14-8.456q0-.378.036-.746c-1.103-.754-1.747-2.128-1.545-3.587.28-2.026 2.08-3.45 4.022-3.183a3.4 3.4 0 0 1 1.443.55z\"\n fill=\"#000\"\n />\n <path\n d=\"M5.742 4.098a.846.846 0 1 1 0 1.69.846.846 0 0 1 0-1.69M17.417 1.3a1.463 1.463 0 1 1 0 2.928 1.463 1.463 0 0 1 0-2.927\"\n fill=\"#000\"\n />\n <path\n d=\"M9.124 11.057c1.473 0 2.667 1.368 2.667 3.057s-1.194 3.057-2.667 3.057-2.667-1.369-2.667-3.057c0-1.689 1.194-3.057 2.667-3.057m6.83 0c1.472 0 2.666 1.368 2.666 3.057s-1.194 3.057-2.666 3.057c-1.473 0-2.667-1.369-2.667-3.057 0-1.689 1.194-3.057 2.667-3.057\"\n fill=\"#fff\"\n />\n <path\n d=\"M9.611 13.008c.773 0 1.399.699 1.399 1.56 0 .863-.626 1.562-1.399 1.562-.772 0-1.398-.699-1.398-1.561s.626-1.561 1.398-1.561m5.919 0c.773 0 1.399.699 1.399 1.56 0 .863-.626 1.562-1.399 1.562-.772 0-1.398-.699-1.398-1.561s.626-1.561 1.398-1.561\"\n fill=\"#000\"\n />\n </svg>\n);\n\nLobotMono.displayName = 'LobotMono';\n\nexport default LobotMono;\n"],"mappings":";;;;;;;;;;AAaA,MAAM,aAAiC,EAAE,OAAO,OAAO,WAAW,OAAO,GAAG,WAC1E,qBAAC,OAAD;CACE,MAAK;CACL,QAAQ;CACR,SAAQ;CACR,OAAO;CACP,OAAM;CACN,GAAI,WAAW,OAAO,KAAKA,OAAK,sBAAsB,GAAG,SAAS,GAAG,KAAK;CAC1E,GAAI;CAPN,UAAA;EASE,oBAAC,SAAD,EAAA,UAAO,QAAY,CAAA;EACnB,oBAAC,QAAD;GACE,GAAE;GACF,MAAK;EACN,CAAA;EACD,oBAAC,QAAD;GACE,GAAE;GACF,MAAK;EACN,CAAA;EACD,oBAAC,QAAD;GACE,GAAE;GACF,MAAK;EACN,CAAA;EACD,oBAAC,QAAD;GACE,GAAE;GACF,MAAK;EACN,CAAA;EACD,oBAAC,QAAD;GACE,GAAE;GACF,MAAK;EACN,CAAA;CACE;;AAGP,UAAU,cAAc"}
@@ -0,0 +1,3 @@
1
+ import LobotMono from "./LobotMono.mjs";
2
+ import { LobotMonoProps } from "./type.mjs";
3
+ export { type LobotMonoProps, LobotMono as default };
@@ -0,0 +1,9 @@
1
+ import { stableClasses } from "../../utils/bem.mjs";
2
+ // src/brand/LobotMono/stable.ts
3
+ const brandLobotMonoClasses = stableClasses({
4
+ block: "brand-lobot-mono",
5
+ elements: []
6
+ });
7
+ export { brandLobotMonoClasses };
8
+
9
+ //# sourceMappingURL=stable.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stable.mjs","names":[],"sources":["../../../src/brand/LobotMono/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const brandLobotMonoClasses = stableClasses({\n block: 'brand-lobot-mono',\n elements: [],\n});\n"],"mappings":";;AAEA,MAAa,wBAAwB,cAAc;CACjD,OAAO;CACP,UAAU,CAAC;AACb,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SvgProps } from "../../types/index.mjs";
2
+ export interface LobotMonoProps extends SvgProps {
3
+ /**
4
+ * Width and height of the mark, as px or any CSS length.
5
+ * @default '1em'
6
+ */
7
+ size?: number | string;
8
+ }
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { LobotTextProps } from "./type.mjs";
3
+ declare const LobotText: FC<LobotTextProps>;
4
+ export { LobotText as default };
@@ -0,0 +1,20 @@
1
+ import clsx$1 from "clsx";
2
+ import { styles } from "../components/style.mjs";
3
+ import { styleProps } from "../../styles/stylex/props.mjs";
4
+ import { brandLobotTextClasses } from "./stable.mjs";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ // src/brand/LobotText/LobotText.tsx
7
+ const LobotText = ({ size = "1em", className, style, ...rest }) => /* @__PURE__ */ jsxs("svg", {
8
+ fill: "currentColor",
9
+ fillRule: "evenodd",
10
+ height: size,
11
+ viewBox: "0 0 82 24",
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ ...styleProps(styles.svg, clsx$1(brandLobotTextClasses(), className), style),
14
+ ...rest,
15
+ children: [/* @__PURE__ */ jsx("title", { children: "Lobot" }), /* @__PURE__ */ jsx("path", { d: "M77.565 22.697a7.1 7.1 0 0 1-2.814-.56 7.6 7.6 0 0 1-2.315-1.558 7.6 7.6 0 0 1-1.559-2.315 7.1 7.1 0 0 1-.56-2.814v-4.812h-1.764a.25.25 0 0 1-.248-.248V6.77c0-.136.111-.247.248-.247h1.764V1.248c0-.137.111-.248.248-.248h3.62c.137 0 .248.11.248.248v5.275h6.016c.137 0 .248.11.248.247v3.62c0 .137-.11.248-.248.248h-6.016v4.812q0 .65.242 1.225.242.56.666.984.423.424.999.68.574.243 1.225.243h2.884c.137 0 .248.11.248.248v3.62c0 .136-.11.247-.248.247zm-10.289-8.246a8.8 8.8 0 0 1-.65 3.39 8.6 8.6 0 0 1-1.77 2.708 8.4 8.4 0 0 1-2.633 1.8A8 8 0 0 1 59 23a8.1 8.1 0 0 1-3.223-.65 8.7 8.7 0 0 1-2.633-1.801 8.6 8.6 0 0 1-1.77-2.709 8.8 8.8 0 0 1-.65-3.389q0-1.845.65-3.42a8.4 8.4 0 0 1 1.77-2.708 8.3 8.3 0 0 1 2.633-1.8A8.1 8.1 0 0 1 59 5.872q1.725 0 3.223.62a7.6 7.6 0 0 1 2.632 1.74q1.12 1.12 1.77 2.709.651 1.573.651 3.51m-4.16 0q0-.999-.334-1.8a4.1 4.1 0 0 0-.877-1.392 3.7 3.7 0 0 0-1.316-.893 4 4 0 0 0-1.59-.318q-.846 0-1.603.318-.741.303-1.301.893-.546.575-.863 1.392-.318.801-.318 1.8 0 .939.318 1.74.318.802.863 1.392.56.59 1.3.938a3.9 3.9 0 0 0 1.605.333 4 4 0 0 0 1.589-.318q.756-.317 1.316-.892.56-.576.877-1.392a4.7 4.7 0 0 0 .333-1.8m-13.799-.001q0 1.907-.65 3.48a8.4 8.4 0 0 1-1.77 2.709 7.9 7.9 0 0 1-2.634 1.74 8.3 8.3 0 0 1-3.222.62 8.2 8.2 0 0 1-3.223-.636 8.2 8.2 0 0 1-2.633-1.77 8.4 8.4 0 0 1-1.77-2.693q-.65-1.575-.65-3.45V1.248c0-.137.11-.248.247-.248h3.65c.137 0 .248.11.248.248v6.364q.334-.424.802-.757a5 5 0 0 1 1.029-.544 6.5 6.5 0 0 1 1.15-.318q.59-.12 1.15-.121 1.725 0 3.222.65a7.9 7.9 0 0 1 2.633 1.786 8.5 8.5 0 0 1 1.77 2.724q.651 1.557.651 3.42m-4.16 0q0-.937-.334-1.74a4.3 4.3 0 0 0-.877-1.407 4 4 0 0 0-1.317-.923 3.8 3.8 0 0 0-1.588-.333q-.848 0-1.604.378-.742.363-1.301.984a4.5 4.5 0 0 0-.878 1.407 4.3 4.3 0 0 0-.318 1.634q0 .938.318 1.74a4.3 4.3 0 0 0 .878 1.392 4.3 4.3 0 0 0 1.3.938 3.9 3.9 0 0 0 1.605.333q.847 0 1.588-.333a4.2 4.2 0 0 0 1.317-.938 4.3 4.3 0 0 0 .877-1.392 4.5 4.5 0 0 0 .333-1.74m-14.344-.001q0 1.815-.65 3.39a8.6 8.6 0 0 1-1.77 2.708 8.4 8.4 0 0 1-2.633 1.8 8 8 0 0 1-3.223.651 8.1 8.1 0 0 1-3.223-.65 8.7 8.7 0 0 1-2.633-1.801 8.6 8.6 0 0 1-1.77-2.709 8.8 8.8 0 0 1-.65-3.389q0-1.845.65-3.42a8.4 8.4 0 0 1 1.77-2.708 8.3 8.3 0 0 1 2.633-1.8 8.1 8.1 0 0 1 3.223-.651q1.725 0 3.223.62a7.6 7.6 0 0 1 2.632 1.74q1.12 1.12 1.77 2.709.651 1.573.651 3.51m-4.16 0q0-.999-.334-1.8a4.1 4.1 0 0 0-.877-1.392 3.7 3.7 0 0 0-1.317-.893 4 4 0 0 0-1.588-.318q-.848 0-1.604.318-.741.303-1.301.893-.545.575-.863 1.392-.318.801-.318 1.8 0 .939.318 1.74.318.802.863 1.392a4.3 4.3 0 0 0 1.3.938 3.9 3.9 0 0 0 1.605.333q.847 0 1.588-.318.758-.317 1.317-.892.56-.576.877-1.392a4.7 4.7 0 0 0 .333-1.8M5.343 16.249c0 1.163.942 2.106 2.106 2.106h4.834q.096.271.207.538a11.2 11.2 0 0 0 2.332 3.546c.094.094.029.258-.104.258H5.584A4.584 4.584 0 0 1 1 18.114V1.248C1 1.11 1.11 1 1.248 1h3.847c.137 0 .248.11.248.248z" })]
16
+ });
17
+ LobotText.displayName = "LobotText";
18
+ export { LobotText as default };
19
+
20
+ //# sourceMappingURL=LobotText.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LobotText.mjs","names":["clsx"],"sources":["../../../src/brand/LobotText/LobotText.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { FC } from 'react';\n\nimport { styles } from '@/brand/components/style';\nimport { styleProps } from '@/styles/stylex/props';\n\nimport { brandLobotTextClasses } from './stable';\nimport type { LobotTextProps } from './type';\n\nconst LobotText: FC<LobotTextProps> = ({ size = '1em', className, style, ...rest }) => (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n viewBox=\"0 0 82 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...styleProps(styles.svg, clsx(brandLobotTextClasses(), className), style)}\n {...rest}\n >\n <title>Lobot</title>\n <path d=\"M77.565 22.697a7.1 7.1 0 0 1-2.814-.56 7.6 7.6 0 0 1-2.315-1.558 7.6 7.6 0 0 1-1.559-2.315 7.1 7.1 0 0 1-.56-2.814v-4.812h-1.764a.25.25 0 0 1-.248-.248V6.77c0-.136.111-.247.248-.247h1.764V1.248c0-.137.111-.248.248-.248h3.62c.137 0 .248.11.248.248v5.275h6.016c.137 0 .248.11.248.247v3.62c0 .137-.11.248-.248.248h-6.016v4.812q0 .65.242 1.225.242.56.666.984.423.424.999.68.574.243 1.225.243h2.884c.137 0 .248.11.248.248v3.62c0 .136-.11.247-.248.247zm-10.289-8.246a8.8 8.8 0 0 1-.65 3.39 8.6 8.6 0 0 1-1.77 2.708 8.4 8.4 0 0 1-2.633 1.8A8 8 0 0 1 59 23a8.1 8.1 0 0 1-3.223-.65 8.7 8.7 0 0 1-2.633-1.801 8.6 8.6 0 0 1-1.77-2.709 8.8 8.8 0 0 1-.65-3.389q0-1.845.65-3.42a8.4 8.4 0 0 1 1.77-2.708 8.3 8.3 0 0 1 2.633-1.8A8.1 8.1 0 0 1 59 5.872q1.725 0 3.223.62a7.6 7.6 0 0 1 2.632 1.74q1.12 1.12 1.77 2.709.651 1.573.651 3.51m-4.16 0q0-.999-.334-1.8a4.1 4.1 0 0 0-.877-1.392 3.7 3.7 0 0 0-1.316-.893 4 4 0 0 0-1.59-.318q-.846 0-1.603.318-.741.303-1.301.893-.546.575-.863 1.392-.318.801-.318 1.8 0 .939.318 1.74.318.802.863 1.392.56.59 1.3.938a3.9 3.9 0 0 0 1.605.333 4 4 0 0 0 1.589-.318q.756-.317 1.316-.892.56-.576.877-1.392a4.7 4.7 0 0 0 .333-1.8m-13.799-.001q0 1.907-.65 3.48a8.4 8.4 0 0 1-1.77 2.709 7.9 7.9 0 0 1-2.634 1.74 8.3 8.3 0 0 1-3.222.62 8.2 8.2 0 0 1-3.223-.636 8.2 8.2 0 0 1-2.633-1.77 8.4 8.4 0 0 1-1.77-2.693q-.65-1.575-.65-3.45V1.248c0-.137.11-.248.247-.248h3.65c.137 0 .248.11.248.248v6.364q.334-.424.802-.757a5 5 0 0 1 1.029-.544 6.5 6.5 0 0 1 1.15-.318q.59-.12 1.15-.121 1.725 0 3.222.65a7.9 7.9 0 0 1 2.633 1.786 8.5 8.5 0 0 1 1.77 2.724q.651 1.557.651 3.42m-4.16 0q0-.937-.334-1.74a4.3 4.3 0 0 0-.877-1.407 4 4 0 0 0-1.317-.923 3.8 3.8 0 0 0-1.588-.333q-.848 0-1.604.378-.742.363-1.301.984a4.5 4.5 0 0 0-.878 1.407 4.3 4.3 0 0 0-.318 1.634q0 .938.318 1.74a4.3 4.3 0 0 0 .878 1.392 4.3 4.3 0 0 0 1.3.938 3.9 3.9 0 0 0 1.605.333q.847 0 1.588-.333a4.2 4.2 0 0 0 1.317-.938 4.3 4.3 0 0 0 .877-1.392 4.5 4.5 0 0 0 .333-1.74m-14.344-.001q0 1.815-.65 3.39a8.6 8.6 0 0 1-1.77 2.708 8.4 8.4 0 0 1-2.633 1.8 8 8 0 0 1-3.223.651 8.1 8.1 0 0 1-3.223-.65 8.7 8.7 0 0 1-2.633-1.801 8.6 8.6 0 0 1-1.77-2.709 8.8 8.8 0 0 1-.65-3.389q0-1.845.65-3.42a8.4 8.4 0 0 1 1.77-2.708 8.3 8.3 0 0 1 2.633-1.8 8.1 8.1 0 0 1 3.223-.651q1.725 0 3.223.62a7.6 7.6 0 0 1 2.632 1.74q1.12 1.12 1.77 2.709.651 1.573.651 3.51m-4.16 0q0-.999-.334-1.8a4.1 4.1 0 0 0-.877-1.392 3.7 3.7 0 0 0-1.317-.893 4 4 0 0 0-1.588-.318q-.848 0-1.604.318-.741.303-1.301.893-.545.575-.863 1.392-.318.801-.318 1.8 0 .939.318 1.74.318.802.863 1.392a4.3 4.3 0 0 0 1.3.938 3.9 3.9 0 0 0 1.605.333q.847 0 1.588-.318.758-.317 1.317-.892.56-.576.877-1.392a4.7 4.7 0 0 0 .333-1.8M5.343 16.249c0 1.163.942 2.106 2.106 2.106h4.834q.096.271.207.538a11.2 11.2 0 0 0 2.332 3.546c.094.094.029.258-.104.258H5.584A4.584 4.584 0 0 1 1 18.114V1.248C1 1.11 1.11 1 1.248 1h3.847c.137 0 .248.11.248.248z\" />\n </svg>\n);\n\nLobotText.displayName = 'LobotText';\n\nexport default LobotText;\n"],"mappings":";;;;;;AASA,MAAM,aAAiC,EAAE,OAAO,OAAO,WAAW,OAAO,GAAG,WAC1E,qBAAC,OAAD;CACE,MAAK;CACL,UAAS;CACT,QAAQ;CACR,SAAQ;CACR,OAAM;CACN,GAAI,WAAW,OAAO,KAAKA,OAAK,sBAAsB,GAAG,SAAS,GAAG,KAAK;CAC1E,GAAI;CAPN,UAAA,CASE,oBAAC,SAAD,EAAA,UAAO,QAAY,CAAA,GACnB,oBAAC,QAAD,EAAM,GAAE,gyFAAiyF,CAAA,CACtyF;;AAGP,UAAU,cAAc"}
@@ -0,0 +1,3 @@
1
+ import LobotText from "./LobotText.mjs";
2
+ import { LobotTextProps } from "./type.mjs";
3
+ export { type LobotTextProps, LobotText as default };
@@ -0,0 +1,9 @@
1
+ import { stableClasses } from "../../utils/bem.mjs";
2
+ // src/brand/LobotText/stable.ts
3
+ const brandLobotTextClasses = stableClasses({
4
+ block: "brand-lobot-text",
5
+ elements: []
6
+ });
7
+ export { brandLobotTextClasses };
8
+
9
+ //# sourceMappingURL=stable.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stable.mjs","names":[],"sources":["../../../src/brand/LobotText/stable.ts"],"sourcesContent":["import { stableClasses } from '@/utils/bem';\n\nexport const brandLobotTextClasses = stableClasses({\n block: 'brand-lobot-text',\n elements: [],\n});\n"],"mappings":";;AAEA,MAAa,wBAAwB,cAAc;CACjD,OAAO;CACP,UAAU,CAAC;AACb,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SvgProps } from "../../types/index.mjs";
2
+ export interface LobotTextProps extends SvgProps {
3
+ /**
4
+ * Height of the wordmark, as px or any CSS length. The width follows the 82:24 ratio.
5
+ * @default '1em'
6
+ */
7
+ size?: number | string;
8
+ }
@@ -3,7 +3,22 @@ import LobeChat, { LobeChatProps } from "./LobeChat/index.mjs";
3
3
  import LobeChatText from "./LobeChatText/index.mjs";
4
4
  import LobeHub, { LobeHubProps } from "./LobeHub/index.mjs";
5
5
  import LobeHubText from "./LobeHubText/index.mjs";
6
+ import { LobotProps } from "./Lobot/type.mjs";
7
+ import Lobot from "./Lobot/Lobot.mjs";
8
+ import "./Lobot/index.mjs";
9
+ import { LobotBrandLoadingProps } from "./LobotBrandLoading/type.mjs";
10
+ import LobotBrandLoading from "./LobotBrandLoading/LobotBrandLoading.mjs";
11
+ import "./LobotBrandLoading/index.mjs";
12
+ import { LobotBrandLoading3dProps } from "./LobotBrandLoading3d/type.mjs";
13
+ import LobotBrandLoading3d from "./LobotBrandLoading3d/LobotBrandLoading3d.mjs";
14
+ import "./LobotBrandLoading3d/index.mjs";
15
+ import { LobotMonoProps } from "./LobotMono/type.mjs";
16
+ import LobotMono from "./LobotMono/LobotMono.mjs";
17
+ import "./LobotMono/index.mjs";
18
+ import { LobotTextProps } from "./LobotText/type.mjs";
19
+ import LobotText from "./LobotText/LobotText.mjs";
20
+ import "./LobotText/index.mjs";
6
21
  import Logo3d from "./Logo3d/index.mjs";
7
22
  import _default from "./LogoFlat/index.mjs";
8
23
  import icons_default from "./LogoMono/index.mjs";
9
- export { BrandLoading, type BrandLoadingProps, LobeChat, type LobeChatProps, LobeChatText, LobeHub, type LobeHubProps, LobeHubText, Logo3d, _default as LogoFlat, icons_default as LogoMono };
24
+ export { BrandLoading, type BrandLoadingProps, LobeChat, type LobeChatProps, LobeChatText, LobeHub, type LobeHubProps, LobeHubText, Lobot, LobotBrandLoading, LobotBrandLoading3d, type LobotBrandLoading3dProps, type LobotBrandLoadingProps, LobotMono, type LobotMonoProps, type LobotProps, LobotText, type LobotTextProps, Logo3d, _default as LogoFlat, icons_default as LogoMono };
@@ -3,7 +3,12 @@ import LobeChat from "./LobeChat/index.mjs";
3
3
  import LobeChatText from "./LobeChatText/index.mjs";
4
4
  import LobeHub from "./LobeHub/index.mjs";
5
5
  import LobeHubText from "./LobeHubText/index.mjs";
6
+ import Lobot from "./Lobot/Lobot.mjs";
7
+ import LobotBrandLoading from "./LobotBrandLoading/LobotBrandLoading.mjs";
8
+ import LobotBrandLoading3d from "./LobotBrandLoading3d/LobotBrandLoading3d.mjs";
9
+ import LobotMono from "./LobotMono/LobotMono.mjs";
10
+ import LobotText from "./LobotText/LobotText.mjs";
6
11
  import Logo3d from "./Logo3d/index.mjs";
7
12
  import LogoFlat_default from "./LogoFlat/index.mjs";
8
13
  import icons_default from "./LogoMono/index.mjs";
9
- export { BrandLoading, LobeChat, LobeChatText, LobeHub, LobeHubText, Logo3d, LogoFlat_default as LogoFlat, icons_default as LogoMono };
14
+ export { BrandLoading, LobeChat, LobeChatText, LobeHub, LobeHubText, Lobot, LobotBrandLoading, LobotBrandLoading3d, LobotMono, LobotText, Logo3d, LogoFlat_default as LogoFlat, icons_default as LogoMono };
@@ -2,9 +2,9 @@ import { FlexboxProps } from "../../Flex/type.mjs";
2
2
  import { ReactNode } from "react";
3
3
  import "../../Alert/index.mjs";
4
4
  import "../../Avatar/index.mjs";
5
- import { AlertProps } from "../../Alert/type.mjs";
6
- import "../EditableMessage/index.mjs";
7
5
  import { AvatarProps } from "../../Avatar/type.mjs";
6
+ import "../EditableMessage/index.mjs";
7
+ import { AlertProps } from "../../Alert/type.mjs";
8
8
  import "../types/index.mjs";
9
9
  import { MarkdownProps } from "../../Markdown/type.mjs";
10
10
  import "../../Flex/index.mjs";