@mechane-ai/elements 0.9.0 → 0.11.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.
- package/NOTICE +24 -0
- package/README.md +7 -1
- package/dist/ai.js +153 -133
- package/dist/{categorical-values-DYRiw5Qd.js → categorical-values-FYc43JCa.js} +4 -4
- package/dist/{chart-frame-RL1hCWBC.js → chart-frame-Bczk5sWj.js} +22 -14
- package/dist/{chart-input-Bm3ot1yD.js → chart-input-CbzVN76m.js} +2 -2
- package/dist/charts/cartesian.js +529 -450
- package/dist/charts/distribution.js +302 -261
- package/dist/charts/graph.js +137 -103
- package/dist/charts/hierarchy.js +7 -7
- package/dist/charts/matrix.js +187 -174
- package/dist/charts/timeline.js +119 -92
- package/dist/charts.js +1 -1
- package/dist/code-block-B7xzM3tD.js +180 -0
- package/dist/collections.js +319 -242
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +81 -63
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +115 -96
- package/dist/content/tree.js +43 -38
- package/dist/{content-link-BrPrpBof.js → content-link-CatGOrbo.js} +6 -2
- package/dist/content.js +172 -153
- package/dist/{assets/stylex.css → elements.css} +585 -229
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +25 -25
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +239 -192
- package/dist/navigation/commands.js +45 -42
- package/dist/{navigation-yxK3iQXo.js → navigation-D2_sGy3C.js} +2 -2
- package/dist/navigation.js +10 -10
- package/dist/overlays.js +1 -1
- package/dist/packages/ai/src/conversation.d.ts +14 -2
- package/dist/packages/ai/src/index.d.ts +1 -1
- package/dist/packages/charts/src/cartesian/bar-chart.d.ts +5 -0
- package/dist/packages/charts/src/cartesian/index.d.ts +2 -2
- package/dist/packages/charts/src/chart-frame.d.ts +3 -0
- package/dist/packages/charts/src/chart-theme.d.ts +2 -1
- package/dist/packages/charts/src/distribution/distribution-plot.d.ts +22 -2
- package/dist/packages/charts/src/timeline/waterfall.d.ts +3 -2
- package/dist/packages/collections/src/collection-scroll.d.ts +2 -1
- package/dist/packages/collections/src/index.d.ts +1 -0
- package/dist/packages/collections/src/inspector.d.ts +6 -3
- package/dist/packages/content/src/diff/pierre-diff.d.ts +2 -1
- package/dist/packages/content/src/viewer-styles.d.ts +64 -0
- package/dist/packages/core/src/agent-avatar-glyphs.d.ts +1 -1
- package/dist/packages/core/src/index.d.ts +1 -1
- package/dist/packages/core/src/surfaces.d.ts +5 -0
- package/dist/packages/feedback/src/index.d.ts +4 -1
- package/dist/packages/feedback/src/toast.d.ts +5 -27
- package/dist/packages/forms/src/field-styles.d.ts +9 -0
- package/dist/packages/forms/src/selection-styles.d.ts +18 -2
- package/dist/packages/foundations/src/overlay-styles.d.ts +3 -1
- package/dist/packages/foundations/src/popup-styles.d.ts +7 -0
- package/dist/packages/foundations/src/tokens.stylex.d.ts +9 -0
- package/dist/packages/layout/src/frame.stylex.d.ts +1 -0
- package/dist/packages/layout/src/sidebar.d.ts +3 -1
- package/dist/packages/overlays/src/alert-dialog.d.ts +5 -2
- package/dist/packages/overlays/src/dialog.d.ts +7 -3
- package/dist/pierre-diff--zsiHCCB.js +71 -0
- package/dist/pierre-theme-D9hnHv3Z.js +126 -0
- package/dist/{pierre-tree-CRk09rx7.js → pierre-tree-D47uA7lb.js} +3 -3
- package/dist/{src-Cc0Sadzr.js → src-C_heP5kL.js} +295 -221
- package/dist/src-Cs0dRc4X.js +617 -0
- package/dist/src-D05isEh_.js +1652 -0
- package/dist/src-DXsGTJgv.js +969 -0
- package/dist/tokens.js +33 -25
- package/dist/viewer-styles-CpHqp5Qv.js +70 -0
- package/package.json +2 -1
- package/packages/foundations/src/tokens.stylex.ts +55 -48
- package/styles.css +1 -1
- package/dist/code-block-B30xQKqg.js +0 -175
- package/dist/pierre-diff-CZdzgiYm.js +0 -66
- package/dist/pierre-theme-BpESNIsV.js +0 -96
- package/dist/popup-styles-CvtZDE2t.js +0 -135
- package/dist/src-CfDf8TY8.js +0 -466
- package/dist/src-DuuAmS-c.js +0 -360
- package/dist/src-elMBQ2Dh.js +0 -1087
|
@@ -0,0 +1,1652 @@
|
|
|
1
|
+
import { t as e } from "./style-composition-uYlczSsB.js";
|
|
2
|
+
import { t } from "./accessibility-C-aIZ1Yx.js";
|
|
3
|
+
import { Button as n } from "@base-ui/react/button";
|
|
4
|
+
import { mergeProps as r } from "@base-ui/react/merge-props";
|
|
5
|
+
import { useRender as i } from "@base-ui/react/use-render";
|
|
6
|
+
import * as a from "@stylexjs/stylex";
|
|
7
|
+
import { useEffect as o, useId as s, useRef as c, useState as l } from "react";
|
|
8
|
+
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
9
|
+
import { Avatar as p } from "@base-ui/react/avatar";
|
|
10
|
+
import { Check as m, ChevronDown as h, Circle as g, CircleCheck as _, CircleX as v, Clock as y, Copy as b } from "lucide-react";
|
|
11
|
+
import { Accordion as x } from "@base-ui/react/accordion";
|
|
12
|
+
import { Collapsible as S } from "@base-ui/react/collapsible";
|
|
13
|
+
// packages/core/src/actions.tsx
|
|
14
|
+
var C = {
|
|
15
|
+
button: {
|
|
16
|
+
k1xSpc: "x3nfvp2",
|
|
17
|
+
kB7OPa: "x9f619",
|
|
18
|
+
kGNEyG: "x6s0dn4",
|
|
19
|
+
kjj79g: "xl56j7k",
|
|
20
|
+
kOIVth: "xbgj81g",
|
|
21
|
+
k8WAf4: "x1hmw7ec",
|
|
22
|
+
kg3NbH: "x1atzlso",
|
|
23
|
+
kaIpWk: "x1ok0vyi",
|
|
24
|
+
kMzoRj: "xmkeg23",
|
|
25
|
+
ksu8eU: "x1y0btm7",
|
|
26
|
+
kMv6JI: "x1hz01jw",
|
|
27
|
+
khiITx: "xvmahel",
|
|
28
|
+
k63SB2: "xk4h15q",
|
|
29
|
+
kGuDYH: "xtqrqnz",
|
|
30
|
+
kLWn49: "x1778rvt",
|
|
31
|
+
kMnn75: "xkrqix3",
|
|
32
|
+
kkrTdU: "x1ypdohk",
|
|
33
|
+
k7Eaqz: "xeuugli",
|
|
34
|
+
ks0D6T: "x193iq5w",
|
|
35
|
+
kHjlTd: "xj0a0fe",
|
|
36
|
+
k9WMMc: "x2b8uid",
|
|
37
|
+
kUfY9r: "xdibjt2",
|
|
38
|
+
kxHhyo: "xwpgcpl",
|
|
39
|
+
kL1HnH: "xknznnm",
|
|
40
|
+
kPJHz1: "x13qnu6",
|
|
41
|
+
k7shQP: "x9v5kkp",
|
|
42
|
+
kZs9gx: "x19rmrnh",
|
|
43
|
+
kiEn40: "x7s97pk",
|
|
44
|
+
$$css: !0
|
|
45
|
+
},
|
|
46
|
+
sm: {
|
|
47
|
+
kAzted: "xaeotn9 xwu7q15",
|
|
48
|
+
$$css: !0
|
|
49
|
+
},
|
|
50
|
+
md: {
|
|
51
|
+
kAzted: "x1uey4wk xwu7q15",
|
|
52
|
+
$$css: !0
|
|
53
|
+
},
|
|
54
|
+
solidNeutral: {
|
|
55
|
+
kWkggS: "x1pt885t",
|
|
56
|
+
kVAM5u: "x159tnba",
|
|
57
|
+
kMwMTN: "x1ymx3u3",
|
|
58
|
+
kGGynd: "x443sj4",
|
|
59
|
+
k2wZ5d: "x4gy2so",
|
|
60
|
+
$$css: !0
|
|
61
|
+
},
|
|
62
|
+
outlineNeutral: {
|
|
63
|
+
kWkggS: "x1r7kqkb",
|
|
64
|
+
kVAM5u: "x1ey3b81",
|
|
65
|
+
kMwMTN: "xbixft",
|
|
66
|
+
kGGynd: "x1od0s29",
|
|
67
|
+
k2wZ5d: "x1480za7",
|
|
68
|
+
$$css: !0
|
|
69
|
+
},
|
|
70
|
+
ghostNeutral: {
|
|
71
|
+
kWkggS: "xjbqb8w",
|
|
72
|
+
kVAM5u: "x9r1u3d",
|
|
73
|
+
kMzoRj: "xc342km",
|
|
74
|
+
kMwMTN: "xbixft",
|
|
75
|
+
k63SB2: "xj57cvi",
|
|
76
|
+
kvyT6O: "x19fjeqo",
|
|
77
|
+
k2wZ5d: "x1480za7",
|
|
78
|
+
$$css: !0
|
|
79
|
+
},
|
|
80
|
+
solidDanger: {
|
|
81
|
+
kWkggS: "xqtq5zq",
|
|
82
|
+
kVAM5u: "x1oddvo6",
|
|
83
|
+
kMwMTN: "x1ymx3u3",
|
|
84
|
+
kGGynd: "x1nru5f5",
|
|
85
|
+
k2wZ5d: "x96ohg0",
|
|
86
|
+
$$css: !0
|
|
87
|
+
},
|
|
88
|
+
outlineDanger: {
|
|
89
|
+
kWkggS: "xpvm0e4",
|
|
90
|
+
kVAM5u: "x1oddvo6",
|
|
91
|
+
kMwMTN: "xr5kp14",
|
|
92
|
+
kGGynd: "xvxq6zk",
|
|
93
|
+
k2wZ5d: "x14u6bge",
|
|
94
|
+
$$css: !0
|
|
95
|
+
},
|
|
96
|
+
ghostDanger: {
|
|
97
|
+
kWkggS: "xjbqb8w",
|
|
98
|
+
kVAM5u: "x9r1u3d",
|
|
99
|
+
kMzoRj: "xc342km",
|
|
100
|
+
kMwMTN: "xr5kp14",
|
|
101
|
+
k63SB2: "xj57cvi",
|
|
102
|
+
kGGynd: "xvxq6zk",
|
|
103
|
+
k2wZ5d: "x14u6bge",
|
|
104
|
+
$$css: !0
|
|
105
|
+
},
|
|
106
|
+
iconSm: {
|
|
107
|
+
k7Eaqz: "x1udcv4t xidce53",
|
|
108
|
+
kg3NbH: "xnjsko4",
|
|
109
|
+
$$css: !0
|
|
110
|
+
},
|
|
111
|
+
iconMd: {
|
|
112
|
+
k7Eaqz: "xelkyza xidce53",
|
|
113
|
+
kg3NbH: "xnjsko4",
|
|
114
|
+
$$css: !0
|
|
115
|
+
},
|
|
116
|
+
text: {
|
|
117
|
+
k1xSpc: "x1rg5ohu",
|
|
118
|
+
kB7OPa: "x9f619",
|
|
119
|
+
kAzted: "x16exltd xwu7q15",
|
|
120
|
+
k7Eaqz: "xeuugli",
|
|
121
|
+
k8WAf4: "xt970qd",
|
|
122
|
+
kg3NbH: "xnjsko4",
|
|
123
|
+
kMzoRj: "xc342km",
|
|
124
|
+
kaIpWk: "x2u8bby",
|
|
125
|
+
kWkggS: "xjbqb8w",
|
|
126
|
+
kMv6JI: "x1hz01jw",
|
|
127
|
+
khiITx: "xvmahel",
|
|
128
|
+
kGuDYH: "xtqrqnz",
|
|
129
|
+
kLWn49: "x1778rvt",
|
|
130
|
+
k63SB2: "xj57cvi",
|
|
131
|
+
ks0D6T: "x193iq5w",
|
|
132
|
+
kVQacm: "xb3r6kr",
|
|
133
|
+
kg5iWk: "xlyipyv",
|
|
134
|
+
kXLuUW: "xxymvpz",
|
|
135
|
+
kkrTdU: "x1ypdohk",
|
|
136
|
+
kqIQ8: "xtcyz2r",
|
|
137
|
+
kC4hMs: "x10n9q27",
|
|
138
|
+
kUfY9r: "xdibjt2",
|
|
139
|
+
kxHhyo: "xwpgcpl",
|
|
140
|
+
kL1HnH: "xknznnm",
|
|
141
|
+
kPJHz1: "x13qnu6",
|
|
142
|
+
k7shQP: "x9v5kkp",
|
|
143
|
+
kZs9gx: "x19rmrnh",
|
|
144
|
+
kiEn40: "x7s97pk",
|
|
145
|
+
$$css: !0
|
|
146
|
+
},
|
|
147
|
+
neutralText: {
|
|
148
|
+
kMwMTN: "xbixft",
|
|
149
|
+
kEZPYj: "x1d2pjik",
|
|
150
|
+
$$css: !0
|
|
151
|
+
},
|
|
152
|
+
dangerText: {
|
|
153
|
+
kMwMTN: "xr5kp14",
|
|
154
|
+
kEZPYj: "x1vwga6f",
|
|
155
|
+
$$css: !0
|
|
156
|
+
},
|
|
157
|
+
link: {
|
|
158
|
+
kMv6JI: "x1hz01jw",
|
|
159
|
+
khiITx: "xvmahel",
|
|
160
|
+
kMwMTN: "xbixft",
|
|
161
|
+
kMnn75: "xkrqix3",
|
|
162
|
+
kdSwXR: "x9p3ypd",
|
|
163
|
+
kc7ZrP: "x15klc50",
|
|
164
|
+
kM5EO1: "xnoqg6i",
|
|
165
|
+
kPJHz1: "x13qnu6",
|
|
166
|
+
k7shQP: "x9v5kkp",
|
|
167
|
+
kZs9gx: "x19rmrnh",
|
|
168
|
+
kiEn40: "x7s97pk",
|
|
169
|
+
$$css: !0
|
|
170
|
+
}
|
|
171
|
+
}, w = {
|
|
172
|
+
neutral: {
|
|
173
|
+
solid: C.solidNeutral,
|
|
174
|
+
outline: C.outlineNeutral,
|
|
175
|
+
ghost: C.ghostNeutral
|
|
176
|
+
},
|
|
177
|
+
danger: {
|
|
178
|
+
solid: C.solidDanger,
|
|
179
|
+
outline: C.outlineDanger,
|
|
180
|
+
ghost: C.ghostDanger
|
|
181
|
+
}
|
|
182
|
+
}, T = {
|
|
183
|
+
sm: C.sm,
|
|
184
|
+
md: C.md
|
|
185
|
+
}, E = {
|
|
186
|
+
sm: C.iconSm,
|
|
187
|
+
md: C.iconMd
|
|
188
|
+
}, D = {
|
|
189
|
+
neutral: C.neutralText,
|
|
190
|
+
danger: C.dangerText
|
|
191
|
+
};
|
|
192
|
+
function O({ id: e, children: t, pending: n = !1, pendingLabel: r }) {
|
|
193
|
+
return r === void 0 ? t : /* @__PURE__ */ f("span", {
|
|
194
|
+
id: e,
|
|
195
|
+
className: "xwz0xwf xeuugli x193iq5w",
|
|
196
|
+
children: [/* @__PURE__ */ d("span", {
|
|
197
|
+
"aria-hidden": n,
|
|
198
|
+
...{
|
|
199
|
+
0: { className: "x15r89dc xeuugli" },
|
|
200
|
+
1: { className: "x15r89dc xeuugli xlshs6z" }
|
|
201
|
+
}[!!n | 0],
|
|
202
|
+
children: t
|
|
203
|
+
}), /* @__PURE__ */ d("span", {
|
|
204
|
+
"aria-hidden": !n,
|
|
205
|
+
...{
|
|
206
|
+
0: { className: "x15r89dc xeuugli" },
|
|
207
|
+
1: { className: "x15r89dc xeuugli xlshs6z" }
|
|
208
|
+
}[!n | 0],
|
|
209
|
+
children: r
|
|
210
|
+
})]
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
function k({ variant: t = "outline", tone: r = "neutral", size: i = "sm", pending: o = !1, pendingLabel: c, children: l, className: u, style: f, xstyle: p, disabled: m = !1, ...h }) {
|
|
214
|
+
let g = s(), _ = a.props(C.button, T[i], w[r][t], p);
|
|
215
|
+
return /* @__PURE__ */ d(n, {
|
|
216
|
+
...h,
|
|
217
|
+
...e({
|
|
218
|
+
className: u,
|
|
219
|
+
style: f,
|
|
220
|
+
styles: _
|
|
221
|
+
}),
|
|
222
|
+
disabled: m || o,
|
|
223
|
+
focusableWhenDisabled: o || h.focusableWhenDisabled,
|
|
224
|
+
"aria-labelledby": h["aria-labelledby"] ?? (h["aria-label"] === void 0 && c !== void 0 ? g : void 0),
|
|
225
|
+
"aria-busy": o || h["aria-busy"],
|
|
226
|
+
children: /* @__PURE__ */ d(O, {
|
|
227
|
+
id: g,
|
|
228
|
+
pending: o,
|
|
229
|
+
pendingLabel: c,
|
|
230
|
+
children: l
|
|
231
|
+
})
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
function ee({ size: e = "sm", children: t, xstyle: n, ...r }) {
|
|
235
|
+
return /* @__PURE__ */ d(k, {
|
|
236
|
+
...r,
|
|
237
|
+
size: e,
|
|
238
|
+
xstyle: [E[e], n],
|
|
239
|
+
children: /* @__PURE__ */ d("span", {
|
|
240
|
+
"aria-hidden": !0,
|
|
241
|
+
className: "xtwnzbg x18utl2x x2lah0s x3nfvp2",
|
|
242
|
+
children: t
|
|
243
|
+
})
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
function A({ tone: t = "neutral", pending: r = !1, pendingLabel: i, children: o, className: c, style: l, xstyle: u, disabled: f = !1, ...p }) {
|
|
247
|
+
let m = s(), h = a.props(C.text, D[t], u);
|
|
248
|
+
return /* @__PURE__ */ d(n, {
|
|
249
|
+
...p,
|
|
250
|
+
...e({
|
|
251
|
+
className: c,
|
|
252
|
+
style: l,
|
|
253
|
+
styles: h
|
|
254
|
+
}),
|
|
255
|
+
disabled: f || r,
|
|
256
|
+
focusableWhenDisabled: r || p.focusableWhenDisabled,
|
|
257
|
+
"aria-labelledby": p["aria-labelledby"] ?? (p["aria-label"] === void 0 && i !== void 0 ? m : void 0),
|
|
258
|
+
"aria-busy": r || p["aria-busy"],
|
|
259
|
+
children: /* @__PURE__ */ d(O, {
|
|
260
|
+
id: m,
|
|
261
|
+
pending: r,
|
|
262
|
+
pendingLabel: i,
|
|
263
|
+
children: o
|
|
264
|
+
})
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
function j({ xstyle: e, ...t }) {
|
|
268
|
+
return /* @__PURE__ */ d("a", { ...r(a.props(C.link, e), t) });
|
|
269
|
+
}
|
|
270
|
+
function M({ size: e = "sm", children: t, xstyle: n, render: o, ref: s, ...c }) {
|
|
271
|
+
return i({
|
|
272
|
+
defaultTagName: "a",
|
|
273
|
+
render: o,
|
|
274
|
+
ref: s,
|
|
275
|
+
props: r(a.props(C.button, T[e], C.ghostNeutral, E[e], n), c, { children: /* @__PURE__ */ d("span", {
|
|
276
|
+
className: "xtwnzbg x18utl2x x2lah0s x3nfvp2",
|
|
277
|
+
children: t
|
|
278
|
+
}) })
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
// packages/core/src/avatar.tsx
|
|
282
|
+
var N = {
|
|
283
|
+
avatar: {
|
|
284
|
+
k1xSpc: "x3nfvp2",
|
|
285
|
+
kmuXW: "x2lah0s",
|
|
286
|
+
kGNEyG: "x6s0dn4",
|
|
287
|
+
kjj79g: "xl56j7k",
|
|
288
|
+
kVQacm: "xb3r6kr",
|
|
289
|
+
kMzoRj: "xmkeg23",
|
|
290
|
+
ksu8eU: "x1y0btm7",
|
|
291
|
+
kVAM5u: "x1ey3b81",
|
|
292
|
+
kaIpWk: "x1ok0vyi",
|
|
293
|
+
kWkggS: "x1r7kqkb",
|
|
294
|
+
kMwMTN: "x153jb6y",
|
|
295
|
+
kMv6JI: "x1hz01jw",
|
|
296
|
+
kGuDYH: "xy8obcc",
|
|
297
|
+
kLWn49: "xas2l8k",
|
|
298
|
+
k63SB2: "xk4h15q",
|
|
299
|
+
$$css: !0
|
|
300
|
+
},
|
|
301
|
+
small: {
|
|
302
|
+
kzqmXN: "xvy4d1p",
|
|
303
|
+
kZKoxP: "xxk0z11",
|
|
304
|
+
$$css: !0
|
|
305
|
+
},
|
|
306
|
+
medium: {
|
|
307
|
+
kzqmXN: "x1td3qas",
|
|
308
|
+
kZKoxP: "x10w6t97",
|
|
309
|
+
$$css: !0
|
|
310
|
+
},
|
|
311
|
+
large: {
|
|
312
|
+
kzqmXN: "x100vrsf",
|
|
313
|
+
kZKoxP: "x1vqgdyp",
|
|
314
|
+
$$css: !0
|
|
315
|
+
}
|
|
316
|
+
}, P = {
|
|
317
|
+
sm: N.small,
|
|
318
|
+
md: N.medium,
|
|
319
|
+
lg: N.large
|
|
320
|
+
};
|
|
321
|
+
function te({ label: e, fallback: t, src: n, size: r = "md" }) {
|
|
322
|
+
return /* @__PURE__ */ f(p.Root, {
|
|
323
|
+
role: "img",
|
|
324
|
+
"aria-label": e,
|
|
325
|
+
...a.props(N.avatar, P[r]),
|
|
326
|
+
children: [n !== void 0 && /* @__PURE__ */ d(p.Image, {
|
|
327
|
+
src: n,
|
|
328
|
+
alt: "",
|
|
329
|
+
className: "xh8yej3 x5yr21d xl1xv1r"
|
|
330
|
+
}), /* @__PURE__ */ d(p.Fallback, {
|
|
331
|
+
"aria-hidden": !0,
|
|
332
|
+
children: t
|
|
333
|
+
})]
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
// packages/core/src/agent-avatar-glyphs.tsx
|
|
337
|
+
var F = Object.freeze(/* @__PURE__ */ "spark.facet.orbit.loop.clover.petal.wheel.compass.grid.steps.chevron.wave.ripple.arch.bridge.peak.zigzag.helix.kite.cube.prism.frame.brackets.diamond.hexagon.signal.crest.bolt.link.split.aster.portal".split(".")), ne = Object.freeze([
|
|
338
|
+
...F,
|
|
339
|
+
"rosette",
|
|
340
|
+
"blossom",
|
|
341
|
+
"pinwheel",
|
|
342
|
+
"lantern",
|
|
343
|
+
"lattice",
|
|
344
|
+
"mosaic",
|
|
345
|
+
"dahlia",
|
|
346
|
+
"lotus",
|
|
347
|
+
"mandala",
|
|
348
|
+
"braid",
|
|
349
|
+
"gem",
|
|
350
|
+
"eclipse",
|
|
351
|
+
"gyre",
|
|
352
|
+
"crossweave",
|
|
353
|
+
"tessera",
|
|
354
|
+
"triad"
|
|
355
|
+
]);
|
|
356
|
+
function I(e, t) {
|
|
357
|
+
return e.map((e) => /* @__PURE__ */ d("g", {
|
|
358
|
+
transform: `rotate(${e} 12 12)`,
|
|
359
|
+
children: t
|
|
360
|
+
}, e));
|
|
361
|
+
}
|
|
362
|
+
var L = {
|
|
363
|
+
spark: I([
|
|
364
|
+
0,
|
|
365
|
+
45,
|
|
366
|
+
90,
|
|
367
|
+
135,
|
|
368
|
+
180,
|
|
369
|
+
225,
|
|
370
|
+
270,
|
|
371
|
+
315
|
|
372
|
+
], /* @__PURE__ */ d("path", { d: "m12 2 5.4 7-5.4 6.2-3.4-6.2Z" })),
|
|
373
|
+
facet: I([
|
|
374
|
+
0,
|
|
375
|
+
72,
|
|
376
|
+
144,
|
|
377
|
+
216,
|
|
378
|
+
288
|
|
379
|
+
], /* @__PURE__ */ d("path", { d: "m12 2 6 7-6 5-4-5Z" })),
|
|
380
|
+
orbit: /* @__PURE__ */ f(u, { children: [I([
|
|
381
|
+
0,
|
|
382
|
+
60,
|
|
383
|
+
120
|
|
384
|
+
], /* @__PURE__ */ d("ellipse", {
|
|
385
|
+
cx: "12",
|
|
386
|
+
cy: "12",
|
|
387
|
+
rx: "9.2",
|
|
388
|
+
ry: "4.5",
|
|
389
|
+
fillOpacity: ".4"
|
|
390
|
+
})), /* @__PURE__ */ d("circle", {
|
|
391
|
+
cx: "12",
|
|
392
|
+
cy: "12",
|
|
393
|
+
r: "2.8",
|
|
394
|
+
fillOpacity: ".75"
|
|
395
|
+
})] }),
|
|
396
|
+
loop: I([
|
|
397
|
+
0,
|
|
398
|
+
120,
|
|
399
|
+
240
|
|
400
|
+
], /* @__PURE__ */ d("path", { d: "M12 12C3 14 1 8 5 4c4-4 10-1 10 4 0 3-2 5-5 6 3-3 2-6 0-7-3-1-5 2-2 4Z" })),
|
|
401
|
+
clover: I([
|
|
402
|
+
0,
|
|
403
|
+
90,
|
|
404
|
+
180,
|
|
405
|
+
270
|
|
406
|
+
], /* @__PURE__ */ d("circle", {
|
|
407
|
+
cx: "12",
|
|
408
|
+
cy: "7.4",
|
|
409
|
+
r: "5.3"
|
|
410
|
+
})),
|
|
411
|
+
petal: I([
|
|
412
|
+
0,
|
|
413
|
+
72,
|
|
414
|
+
144,
|
|
415
|
+
216,
|
|
416
|
+
288
|
|
417
|
+
], /* @__PURE__ */ d("path", { d: "M12 2c5 1 6 6 0 10-6-4-5-9 0-10Z" })),
|
|
418
|
+
wheel: /* @__PURE__ */ f(u, { children: [I([
|
|
419
|
+
0,
|
|
420
|
+
45,
|
|
421
|
+
90,
|
|
422
|
+
135,
|
|
423
|
+
180,
|
|
424
|
+
225,
|
|
425
|
+
270,
|
|
426
|
+
315
|
|
427
|
+
], /* @__PURE__ */ d("ellipse", {
|
|
428
|
+
cx: "12",
|
|
429
|
+
cy: "6.7",
|
|
430
|
+
rx: "3.2",
|
|
431
|
+
ry: "4.6"
|
|
432
|
+
})), /* @__PURE__ */ d("circle", {
|
|
433
|
+
cx: "12",
|
|
434
|
+
cy: "12",
|
|
435
|
+
r: "3.2",
|
|
436
|
+
fillOpacity: ".65"
|
|
437
|
+
})] }),
|
|
438
|
+
compass: I([
|
|
439
|
+
0,
|
|
440
|
+
45,
|
|
441
|
+
90,
|
|
442
|
+
135,
|
|
443
|
+
180,
|
|
444
|
+
225,
|
|
445
|
+
270,
|
|
446
|
+
315
|
|
447
|
+
], /* @__PURE__ */ d("path", { d: "m12 1.5 3 7-3 3.5-3-3.5Z" })),
|
|
448
|
+
grid: /* @__PURE__ */ f(u, { children: [
|
|
449
|
+
I([
|
|
450
|
+
0,
|
|
451
|
+
90,
|
|
452
|
+
180,
|
|
453
|
+
270
|
|
454
|
+
], /* @__PURE__ */ d("circle", {
|
|
455
|
+
cx: "6.8",
|
|
456
|
+
cy: "6.8",
|
|
457
|
+
r: "3.5"
|
|
458
|
+
})),
|
|
459
|
+
I([
|
|
460
|
+
0,
|
|
461
|
+
90,
|
|
462
|
+
180,
|
|
463
|
+
270
|
|
464
|
+
], /* @__PURE__ */ d("circle", {
|
|
465
|
+
cx: "12",
|
|
466
|
+
cy: "4.1",
|
|
467
|
+
r: "1.8",
|
|
468
|
+
fillOpacity: ".5"
|
|
469
|
+
})),
|
|
470
|
+
/* @__PURE__ */ d("rect", {
|
|
471
|
+
x: "7.5",
|
|
472
|
+
y: "7.5",
|
|
473
|
+
width: "9",
|
|
474
|
+
height: "9",
|
|
475
|
+
rx: "2",
|
|
476
|
+
transform: "rotate(45 12 12)"
|
|
477
|
+
})
|
|
478
|
+
] }),
|
|
479
|
+
steps: I([
|
|
480
|
+
0,
|
|
481
|
+
90,
|
|
482
|
+
180,
|
|
483
|
+
270
|
|
484
|
+
], /* @__PURE__ */ d("path", { d: "M4 3h9v5H9v5H4Z" })),
|
|
485
|
+
chevron: I([
|
|
486
|
+
0,
|
|
487
|
+
90,
|
|
488
|
+
180,
|
|
489
|
+
270
|
|
490
|
+
], /* @__PURE__ */ d("path", {
|
|
491
|
+
d: "m3 8 9-6 9 6-9 6Z",
|
|
492
|
+
fillOpacity: ".48"
|
|
493
|
+
})),
|
|
494
|
+
wave: /* @__PURE__ */ f(u, { children: [
|
|
495
|
+
/* @__PURE__ */ d("path", { d: "M2 6c6-8 12 8 20 0v5C14 19 8 3 2 11Z" }),
|
|
496
|
+
/* @__PURE__ */ d("path", { d: "M2 11c6-8 12 8 20 0v5c-8 8-14-8-20 0Z" }),
|
|
497
|
+
/* @__PURE__ */ d("path", {
|
|
498
|
+
d: "M2 16c6-8 12 8 20 0v3c-8 8-14-8-20 0Z",
|
|
499
|
+
fillOpacity: ".4"
|
|
500
|
+
})
|
|
501
|
+
] }),
|
|
502
|
+
ripple: /* @__PURE__ */ f(u, { children: [
|
|
503
|
+
/* @__PURE__ */ d("circle", {
|
|
504
|
+
cx: "12",
|
|
505
|
+
cy: "11",
|
|
506
|
+
r: "9.3",
|
|
507
|
+
fillOpacity: ".45"
|
|
508
|
+
}),
|
|
509
|
+
/* @__PURE__ */ d("circle", {
|
|
510
|
+
cx: "12",
|
|
511
|
+
cy: "13.5",
|
|
512
|
+
r: "6.8",
|
|
513
|
+
fillOpacity: ".5"
|
|
514
|
+
}),
|
|
515
|
+
/* @__PURE__ */ d("circle", {
|
|
516
|
+
cx: "12",
|
|
517
|
+
cy: "16",
|
|
518
|
+
r: "4.3",
|
|
519
|
+
fillOpacity: ".6"
|
|
520
|
+
})
|
|
521
|
+
] }),
|
|
522
|
+
arch: /* @__PURE__ */ f(u, { children: [
|
|
523
|
+
/* @__PURE__ */ d("path", {
|
|
524
|
+
d: "M2.7 20V11a9.3 9.3 0 0 1 18.6 0v9Z",
|
|
525
|
+
fillOpacity: ".4"
|
|
526
|
+
}),
|
|
527
|
+
/* @__PURE__ */ d("path", {
|
|
528
|
+
d: "M6 20v-7a6 6 0 0 1 12 0v7Z",
|
|
529
|
+
fillOpacity: ".5"
|
|
530
|
+
}),
|
|
531
|
+
/* @__PURE__ */ d("path", { d: "M9.2 20v-4.5a2.8 2.8 0 0 1 5.6 0V20Z" })
|
|
532
|
+
] }),
|
|
533
|
+
bridge: /* @__PURE__ */ f(u, { children: [
|
|
534
|
+
/* @__PURE__ */ d("rect", {
|
|
535
|
+
x: "3",
|
|
536
|
+
y: "6",
|
|
537
|
+
width: "18",
|
|
538
|
+
height: "5",
|
|
539
|
+
rx: "2.5"
|
|
540
|
+
}),
|
|
541
|
+
/* @__PURE__ */ d("rect", {
|
|
542
|
+
x: "3",
|
|
543
|
+
y: "13",
|
|
544
|
+
width: "18",
|
|
545
|
+
height: "5",
|
|
546
|
+
rx: "2.5"
|
|
547
|
+
}),
|
|
548
|
+
/* @__PURE__ */ d("rect", {
|
|
549
|
+
x: "6",
|
|
550
|
+
y: "3",
|
|
551
|
+
width: "5",
|
|
552
|
+
height: "18",
|
|
553
|
+
rx: "2.5",
|
|
554
|
+
fillOpacity: ".45"
|
|
555
|
+
}),
|
|
556
|
+
/* @__PURE__ */ d("rect", {
|
|
557
|
+
x: "13",
|
|
558
|
+
y: "3",
|
|
559
|
+
width: "5",
|
|
560
|
+
height: "18",
|
|
561
|
+
rx: "2.5",
|
|
562
|
+
fillOpacity: ".45"
|
|
563
|
+
})
|
|
564
|
+
] }),
|
|
565
|
+
peak: I([
|
|
566
|
+
0,
|
|
567
|
+
120,
|
|
568
|
+
240
|
|
569
|
+
], /* @__PURE__ */ d("path", {
|
|
570
|
+
d: "M12 2 17 12H7Z",
|
|
571
|
+
fillOpacity: ".6"
|
|
572
|
+
})),
|
|
573
|
+
zigzag: I([
|
|
574
|
+
0,
|
|
575
|
+
90,
|
|
576
|
+
180,
|
|
577
|
+
270
|
|
578
|
+
], /* @__PURE__ */ d("path", { d: "m3 3 10 3 2 6-5 3 1-7-7 1Z" })),
|
|
579
|
+
helix: /* @__PURE__ */ f(u, { children: [
|
|
580
|
+
/* @__PURE__ */ d("ellipse", {
|
|
581
|
+
cx: "9",
|
|
582
|
+
cy: "12",
|
|
583
|
+
rx: "5.3",
|
|
584
|
+
ry: "9.5",
|
|
585
|
+
transform: "rotate(32 9 12)",
|
|
586
|
+
fillOpacity: ".5"
|
|
587
|
+
}),
|
|
588
|
+
/* @__PURE__ */ d("ellipse", {
|
|
589
|
+
cx: "15",
|
|
590
|
+
cy: "12",
|
|
591
|
+
rx: "5.3",
|
|
592
|
+
ry: "9.5",
|
|
593
|
+
transform: "rotate(32 15 12)",
|
|
594
|
+
fillOpacity: ".5"
|
|
595
|
+
}),
|
|
596
|
+
/* @__PURE__ */ d("path", {
|
|
597
|
+
d: "m4.5 14.5 9-9 6 4-9 9Z",
|
|
598
|
+
fillOpacity: ".25"
|
|
599
|
+
})
|
|
600
|
+
] }),
|
|
601
|
+
kite: I([
|
|
602
|
+
0,
|
|
603
|
+
90,
|
|
604
|
+
180,
|
|
605
|
+
270
|
|
606
|
+
], /* @__PURE__ */ d("path", { d: "m12 2 5.3 5.8L12 16 6.7 7.8Z" })),
|
|
607
|
+
cube: /* @__PURE__ */ f(u, { children: [
|
|
608
|
+
/* @__PURE__ */ d("path", {
|
|
609
|
+
d: "m12 2.5 9 5.2-9 5.2-9-5.2Z",
|
|
610
|
+
fillOpacity: ".45"
|
|
611
|
+
}),
|
|
612
|
+
/* @__PURE__ */ d("path", {
|
|
613
|
+
d: "m3 7.7 9 5.2v8.6l-9-5.2Z",
|
|
614
|
+
fillOpacity: ".7"
|
|
615
|
+
}),
|
|
616
|
+
/* @__PURE__ */ d("path", {
|
|
617
|
+
d: "m21 7.7-9 5.2v8.6l9-5.2Z",
|
|
618
|
+
fillOpacity: ".55"
|
|
619
|
+
}),
|
|
620
|
+
/* @__PURE__ */ d("path", {
|
|
621
|
+
d: "m7.5 5.1 9 5.2v8.6M16.5 5.1l-9 5.2v8.6M3 12l9 5.2 9-5.2",
|
|
622
|
+
fill: "none"
|
|
623
|
+
})
|
|
624
|
+
] }),
|
|
625
|
+
prism: /* @__PURE__ */ f(u, { children: [
|
|
626
|
+
/* @__PURE__ */ d("path", {
|
|
627
|
+
d: "M12 2 22 19H2Z",
|
|
628
|
+
fillOpacity: ".35"
|
|
629
|
+
}),
|
|
630
|
+
/* @__PURE__ */ d("path", {
|
|
631
|
+
d: "m12 2 3.5 17H2Z",
|
|
632
|
+
fillOpacity: ".65"
|
|
633
|
+
}),
|
|
634
|
+
/* @__PURE__ */ d("path", {
|
|
635
|
+
d: "m12 2 10 17H8.5Z",
|
|
636
|
+
fillOpacity: ".45"
|
|
637
|
+
}),
|
|
638
|
+
/* @__PURE__ */ d("path", {
|
|
639
|
+
d: "m2 19 10-7 10 7Z",
|
|
640
|
+
fillOpacity: ".45"
|
|
641
|
+
})
|
|
642
|
+
] }),
|
|
643
|
+
frame: I([
|
|
644
|
+
0,
|
|
645
|
+
90,
|
|
646
|
+
180,
|
|
647
|
+
270
|
|
648
|
+
], /* @__PURE__ */ d("rect", {
|
|
649
|
+
x: "4",
|
|
650
|
+
y: "3",
|
|
651
|
+
width: "11",
|
|
652
|
+
height: "11",
|
|
653
|
+
rx: "3.6"
|
|
654
|
+
})),
|
|
655
|
+
brackets: I([
|
|
656
|
+
0,
|
|
657
|
+
90,
|
|
658
|
+
180,
|
|
659
|
+
270
|
|
660
|
+
], /* @__PURE__ */ d("path", { d: "M3 4a1 1 0 0 1 1-1h8v4H7v5H3Z" })),
|
|
661
|
+
diamond: /* @__PURE__ */ f(u, { children: [I([
|
|
662
|
+
0,
|
|
663
|
+
90,
|
|
664
|
+
180,
|
|
665
|
+
270
|
|
666
|
+
], /* @__PURE__ */ d("rect", {
|
|
667
|
+
x: "6.4",
|
|
668
|
+
y: "2.5",
|
|
669
|
+
width: "8",
|
|
670
|
+
height: "8",
|
|
671
|
+
rx: "1.5",
|
|
672
|
+
transform: "rotate(45 10.4 6.5)"
|
|
673
|
+
})), /* @__PURE__ */ d("circle", {
|
|
674
|
+
cx: "12",
|
|
675
|
+
cy: "12",
|
|
676
|
+
r: "3",
|
|
677
|
+
fillOpacity: ".5"
|
|
678
|
+
})] }),
|
|
679
|
+
hexagon: I([
|
|
680
|
+
0,
|
|
681
|
+
60,
|
|
682
|
+
120,
|
|
683
|
+
180,
|
|
684
|
+
240,
|
|
685
|
+
300
|
|
686
|
+
], /* @__PURE__ */ d("path", { d: "m12 2 4 2.3v4.6l-4 2.3-4-2.3V4.3Z" })),
|
|
687
|
+
signal: /* @__PURE__ */ f(u, { children: [
|
|
688
|
+
/* @__PURE__ */ d("rect", {
|
|
689
|
+
x: "2.6",
|
|
690
|
+
y: "7.5",
|
|
691
|
+
width: "4.5",
|
|
692
|
+
height: "9",
|
|
693
|
+
rx: "2.2",
|
|
694
|
+
fillOpacity: ".45"
|
|
695
|
+
}),
|
|
696
|
+
/* @__PURE__ */ d("rect", {
|
|
697
|
+
x: "7.4",
|
|
698
|
+
y: "3.5",
|
|
699
|
+
width: "4.5",
|
|
700
|
+
height: "17",
|
|
701
|
+
rx: "2.2"
|
|
702
|
+
}),
|
|
703
|
+
/* @__PURE__ */ d("rect", {
|
|
704
|
+
x: "12.1",
|
|
705
|
+
y: "3.5",
|
|
706
|
+
width: "4.5",
|
|
707
|
+
height: "17",
|
|
708
|
+
rx: "2.2"
|
|
709
|
+
}),
|
|
710
|
+
/* @__PURE__ */ d("rect", {
|
|
711
|
+
x: "16.9",
|
|
712
|
+
y: "7.5",
|
|
713
|
+
width: "4.5",
|
|
714
|
+
height: "9",
|
|
715
|
+
rx: "2.2",
|
|
716
|
+
fillOpacity: ".45"
|
|
717
|
+
}),
|
|
718
|
+
/* @__PURE__ */ d("path", {
|
|
719
|
+
d: "M2.6 12h18.8",
|
|
720
|
+
fill: "none"
|
|
721
|
+
})
|
|
722
|
+
] }),
|
|
723
|
+
crest: I([
|
|
724
|
+
0,
|
|
725
|
+
120,
|
|
726
|
+
240
|
|
727
|
+
], /* @__PURE__ */ d("path", {
|
|
728
|
+
d: "M6 3h12v5c0 4-3.5 7.2-6 9-2.5-1.8-6-5-6-9Z",
|
|
729
|
+
fillOpacity: ".55"
|
|
730
|
+
})),
|
|
731
|
+
bolt: I([
|
|
732
|
+
0,
|
|
733
|
+
120,
|
|
734
|
+
240
|
|
735
|
+
], /* @__PURE__ */ d("path", {
|
|
736
|
+
d: "m10 2 9 8-7 1 1 6-9-8 7-1Z",
|
|
737
|
+
fillOpacity: ".6"
|
|
738
|
+
})),
|
|
739
|
+
link: I([0, 90], /* @__PURE__ */ d("path", {
|
|
740
|
+
d: "M12 2c5 0 7 4 7 10s-2 10-7 10-7-4-7-10S7 2 12 2Zm0 4c-2 0-3 2-3 6s1 6 3 6 3-2 3-6-1-6-3-6Z",
|
|
741
|
+
fillRule: "evenodd",
|
|
742
|
+
fillOpacity: ".6"
|
|
743
|
+
})),
|
|
744
|
+
split: I([
|
|
745
|
+
0,
|
|
746
|
+
90,
|
|
747
|
+
180,
|
|
748
|
+
270
|
|
749
|
+
], /* @__PURE__ */ d("path", {
|
|
750
|
+
d: "M12 2a10 10 0 0 1 10 10H9a3 3 0 0 1 3-3Z",
|
|
751
|
+
fillOpacity: ".6"
|
|
752
|
+
})),
|
|
753
|
+
aster: I([
|
|
754
|
+
0,
|
|
755
|
+
60,
|
|
756
|
+
120
|
|
757
|
+
], /* @__PURE__ */ d("rect", {
|
|
758
|
+
x: "9.4",
|
|
759
|
+
y: "1.5",
|
|
760
|
+
width: "5.2",
|
|
761
|
+
height: "21",
|
|
762
|
+
rx: "2.6",
|
|
763
|
+
fillOpacity: ".55"
|
|
764
|
+
})),
|
|
765
|
+
portal: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("circle", {
|
|
766
|
+
cx: "12",
|
|
767
|
+
cy: "12",
|
|
768
|
+
r: "9.3",
|
|
769
|
+
fillOpacity: ".4"
|
|
770
|
+
}), I([
|
|
771
|
+
0,
|
|
772
|
+
90,
|
|
773
|
+
180,
|
|
774
|
+
270
|
|
775
|
+
], /* @__PURE__ */ d("circle", {
|
|
776
|
+
cx: "12",
|
|
777
|
+
cy: "7.6",
|
|
778
|
+
r: "4.8",
|
|
779
|
+
fillOpacity: ".35"
|
|
780
|
+
}))] }),
|
|
781
|
+
rosette: I([
|
|
782
|
+
0,
|
|
783
|
+
60,
|
|
784
|
+
120,
|
|
785
|
+
180,
|
|
786
|
+
240,
|
|
787
|
+
300
|
|
788
|
+
], /* @__PURE__ */ d("path", { d: "M12 1.8c1.2 5 7 5.8 5.5 10.2-1.1 3.3-5.5 3-5.5 0-4.2-.8-5.1-4.2 0-10.2Z" })),
|
|
789
|
+
blossom: /* @__PURE__ */ f(u, { children: [I([
|
|
790
|
+
0,
|
|
791
|
+
72,
|
|
792
|
+
144,
|
|
793
|
+
216,
|
|
794
|
+
288
|
|
795
|
+
], /* @__PURE__ */ d("circle", {
|
|
796
|
+
cx: "12",
|
|
797
|
+
cy: "6.6",
|
|
798
|
+
r: "4.6"
|
|
799
|
+
})), /* @__PURE__ */ d("circle", {
|
|
800
|
+
cx: "12",
|
|
801
|
+
cy: "12",
|
|
802
|
+
r: "3.8",
|
|
803
|
+
fillOpacity: ".4"
|
|
804
|
+
})] }),
|
|
805
|
+
pinwheel: I([
|
|
806
|
+
0,
|
|
807
|
+
72,
|
|
808
|
+
144,
|
|
809
|
+
216,
|
|
810
|
+
288
|
|
811
|
+
], /* @__PURE__ */ d("path", { d: "M12 12C5 15 1 8 6 3c5-2 8 1 8 5-2-2-5-1-5 1s1 3 3 3Z" })),
|
|
812
|
+
lantern: /* @__PURE__ */ f(u, { children: [I([
|
|
813
|
+
0,
|
|
814
|
+
90,
|
|
815
|
+
180,
|
|
816
|
+
270
|
|
817
|
+
], /* @__PURE__ */ d("path", { d: "m12 1.5 4 6-4 5-4-5Z" })), I([
|
|
818
|
+
45,
|
|
819
|
+
135,
|
|
820
|
+
225,
|
|
821
|
+
315
|
|
822
|
+
], /* @__PURE__ */ d("path", {
|
|
823
|
+
d: "m12 3.5 3 5-3 3.5-3-3.5Z",
|
|
824
|
+
fillOpacity: ".45"
|
|
825
|
+
}))] }),
|
|
826
|
+
lattice: /* @__PURE__ */ f(u, { children: [[
|
|
827
|
+
5,
|
|
828
|
+
10,
|
|
829
|
+
15
|
|
830
|
+
].map((e) => /* @__PURE__ */ d("rect", {
|
|
831
|
+
x: e,
|
|
832
|
+
y: "3",
|
|
833
|
+
width: "4",
|
|
834
|
+
height: "18",
|
|
835
|
+
rx: "2",
|
|
836
|
+
fillOpacity: ".45"
|
|
837
|
+
}, e)), [
|
|
838
|
+
5,
|
|
839
|
+
10,
|
|
840
|
+
15
|
|
841
|
+
].map((e) => /* @__PURE__ */ d("rect", {
|
|
842
|
+
x: "3",
|
|
843
|
+
y: e,
|
|
844
|
+
width: "18",
|
|
845
|
+
height: "4",
|
|
846
|
+
rx: "2",
|
|
847
|
+
fillOpacity: ".45"
|
|
848
|
+
}, e))] }),
|
|
849
|
+
mosaic: /* @__PURE__ */ f(u, { children: [
|
|
850
|
+
I([
|
|
851
|
+
0,
|
|
852
|
+
90,
|
|
853
|
+
180,
|
|
854
|
+
270
|
|
855
|
+
], /* @__PURE__ */ d("path", { d: "m12 1.5 4.5 4.5-4.5 4.5L7.5 6Z" })),
|
|
856
|
+
I([
|
|
857
|
+
0,
|
|
858
|
+
90,
|
|
859
|
+
180,
|
|
860
|
+
270
|
|
861
|
+
], /* @__PURE__ */ d("path", {
|
|
862
|
+
d: "m5.5 5.5 3 3-3 3-3-3Z",
|
|
863
|
+
fillOpacity: ".45"
|
|
864
|
+
})),
|
|
865
|
+
/* @__PURE__ */ d("path", { d: "m12 8 4 4-4 4-4-4Z" })
|
|
866
|
+
] }),
|
|
867
|
+
dahlia: I([
|
|
868
|
+
0,
|
|
869
|
+
30,
|
|
870
|
+
60,
|
|
871
|
+
90,
|
|
872
|
+
120,
|
|
873
|
+
150,
|
|
874
|
+
180,
|
|
875
|
+
210,
|
|
876
|
+
240,
|
|
877
|
+
270,
|
|
878
|
+
300,
|
|
879
|
+
330
|
|
880
|
+
], /* @__PURE__ */ d("ellipse", {
|
|
881
|
+
cx: "12",
|
|
882
|
+
cy: "6.3",
|
|
883
|
+
rx: "1.9",
|
|
884
|
+
ry: "4.5",
|
|
885
|
+
fillOpacity: ".5"
|
|
886
|
+
})),
|
|
887
|
+
lotus: /* @__PURE__ */ f(u, { children: [
|
|
888
|
+
/* @__PURE__ */ d("path", {
|
|
889
|
+
d: "M12 12C5 6 1 8 1.8 10.5 3 17 8 20 12 20Z",
|
|
890
|
+
fillOpacity: ".5"
|
|
891
|
+
}),
|
|
892
|
+
/* @__PURE__ */ d("path", {
|
|
893
|
+
d: "M12 12c7-6 11-4 10.2-1.5C21 17 16 20 12 20Z",
|
|
894
|
+
fillOpacity: ".5"
|
|
895
|
+
}),
|
|
896
|
+
/* @__PURE__ */ d("path", { d: "M12 8C8 1 4 2 4 6c0 7 3 11 8 14Z" }),
|
|
897
|
+
/* @__PURE__ */ d("path", { d: "M12 8c4-7 8-6 8-2 0 7-3 11-8 14Z" }),
|
|
898
|
+
/* @__PURE__ */ d("path", {
|
|
899
|
+
d: "M12 1c-5 6-5 13 0 19 5-6 5-13 0-19Z",
|
|
900
|
+
fillOpacity: ".55"
|
|
901
|
+
})
|
|
902
|
+
] }),
|
|
903
|
+
mandala: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("circle", {
|
|
904
|
+
cx: "12",
|
|
905
|
+
cy: "12",
|
|
906
|
+
r: "9.5",
|
|
907
|
+
fillOpacity: ".25"
|
|
908
|
+
}), I([
|
|
909
|
+
0,
|
|
910
|
+
60,
|
|
911
|
+
120,
|
|
912
|
+
180,
|
|
913
|
+
240,
|
|
914
|
+
300
|
|
915
|
+
], /* @__PURE__ */ d("circle", {
|
|
916
|
+
cx: "12",
|
|
917
|
+
cy: "8.4",
|
|
918
|
+
r: "5.3",
|
|
919
|
+
fillOpacity: ".3"
|
|
920
|
+
}))] }),
|
|
921
|
+
braid: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("path", { d: "M4 2c12 0 0 15 16 15v5C-2 22 13 7 4 7Z" }), /* @__PURE__ */ d("path", {
|
|
922
|
+
d: "M20 2C8 2 20 17 4 17v5C26 22 11 7 20 7Z",
|
|
923
|
+
fillOpacity: ".5"
|
|
924
|
+
})] }),
|
|
925
|
+
gem: /* @__PURE__ */ f(u, { children: [
|
|
926
|
+
/* @__PURE__ */ d("path", {
|
|
927
|
+
d: "m12 1.5 8 6v9l-8 6-8-6v-9Z",
|
|
928
|
+
fillOpacity: ".35"
|
|
929
|
+
}),
|
|
930
|
+
/* @__PURE__ */ d("path", {
|
|
931
|
+
d: "m12 1.5 4 10.5-4 10.5L8 12Z",
|
|
932
|
+
fillOpacity: ".7"
|
|
933
|
+
}),
|
|
934
|
+
/* @__PURE__ */ d("path", {
|
|
935
|
+
d: "m4 7.5 12 4.5-12 4.5ZM20 7.5 8 12l12 4.5Z",
|
|
936
|
+
fillOpacity: ".45"
|
|
937
|
+
})
|
|
938
|
+
] }),
|
|
939
|
+
eclipse: /* @__PURE__ */ f(u, { children: [
|
|
940
|
+
/* @__PURE__ */ d("circle", {
|
|
941
|
+
cx: "11",
|
|
942
|
+
cy: "12",
|
|
943
|
+
r: "9.5",
|
|
944
|
+
fillOpacity: ".35"
|
|
945
|
+
}),
|
|
946
|
+
/* @__PURE__ */ d("circle", {
|
|
947
|
+
cx: "14",
|
|
948
|
+
cy: "12",
|
|
949
|
+
r: "7.5",
|
|
950
|
+
fillOpacity: ".45"
|
|
951
|
+
}),
|
|
952
|
+
/* @__PURE__ */ d("circle", {
|
|
953
|
+
cx: "16.4",
|
|
954
|
+
cy: "12",
|
|
955
|
+
r: "5.2",
|
|
956
|
+
fillOpacity: ".6"
|
|
957
|
+
})
|
|
958
|
+
] }),
|
|
959
|
+
gyre: I([
|
|
960
|
+
0,
|
|
961
|
+
90,
|
|
962
|
+
180,
|
|
963
|
+
270
|
|
964
|
+
], /* @__PURE__ */ d("path", { d: "M12 12C2 13 2 3 8 2c5-1 7 5 5 8-1-4-6-4-6-1 0 2 2 3 5 3Z" })),
|
|
965
|
+
crossweave: /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("path", {
|
|
966
|
+
d: "m5 2 7 10-7 10h14l-7-10 7-10Z",
|
|
967
|
+
fillOpacity: ".55"
|
|
968
|
+
}), /* @__PURE__ */ d("path", {
|
|
969
|
+
d: "m2 5 10 7 10-7v14l-10-7-10 7Z",
|
|
970
|
+
fillOpacity: ".55"
|
|
971
|
+
})] }),
|
|
972
|
+
tessera: I([
|
|
973
|
+
0,
|
|
974
|
+
60,
|
|
975
|
+
120,
|
|
976
|
+
180,
|
|
977
|
+
240,
|
|
978
|
+
300
|
|
979
|
+
], /* @__PURE__ */ d("path", { d: "m12 2 8.6 5-3 5.2L9 7.2Z" })),
|
|
980
|
+
triad: I([
|
|
981
|
+
0,
|
|
982
|
+
120,
|
|
983
|
+
240
|
|
984
|
+
], /* @__PURE__ */ d("path", {
|
|
985
|
+
d: "M12 2C4 5 3 12 12 17c9-5 8-12 0-15Z",
|
|
986
|
+
fillOpacity: ".6"
|
|
987
|
+
}))
|
|
988
|
+
}, R = Object.freeze([
|
|
989
|
+
"ember",
|
|
990
|
+
"coral",
|
|
991
|
+
"rose",
|
|
992
|
+
"berry",
|
|
993
|
+
"plum",
|
|
994
|
+
"orchid",
|
|
995
|
+
"violet",
|
|
996
|
+
"indigo",
|
|
997
|
+
"iris",
|
|
998
|
+
"cobalt",
|
|
999
|
+
"blue",
|
|
1000
|
+
"sky",
|
|
1001
|
+
"cyan",
|
|
1002
|
+
"lagoon",
|
|
1003
|
+
"teal",
|
|
1004
|
+
"jade",
|
|
1005
|
+
"mint",
|
|
1006
|
+
"forest",
|
|
1007
|
+
"leaf",
|
|
1008
|
+
"moss",
|
|
1009
|
+
"olive",
|
|
1010
|
+
"ochre",
|
|
1011
|
+
"amber",
|
|
1012
|
+
"copper"
|
|
1013
|
+
]), z = R, B = {
|
|
1014
|
+
root: {
|
|
1015
|
+
k1xSpc: "x3nfvp2",
|
|
1016
|
+
kmuXW: "x2lah0s",
|
|
1017
|
+
kXLuUW: "xxymvpz",
|
|
1018
|
+
kjVXCG: "xaep1og",
|
|
1019
|
+
$$css: !0
|
|
1020
|
+
},
|
|
1021
|
+
xs: {
|
|
1022
|
+
kzqmXN: "x1kky2od",
|
|
1023
|
+
kZKoxP: "xlup9mm",
|
|
1024
|
+
$$css: !0
|
|
1025
|
+
},
|
|
1026
|
+
sm: {
|
|
1027
|
+
kzqmXN: "xw4jnvo",
|
|
1028
|
+
kZKoxP: "x1qx5ct2",
|
|
1029
|
+
$$css: !0
|
|
1030
|
+
},
|
|
1031
|
+
md: {
|
|
1032
|
+
kzqmXN: "xvy4d1p",
|
|
1033
|
+
kZKoxP: "xxk0z11",
|
|
1034
|
+
$$css: !0
|
|
1035
|
+
},
|
|
1036
|
+
lg: {
|
|
1037
|
+
kzqmXN: "x100vrsf",
|
|
1038
|
+
kZKoxP: "x1vqgdyp",
|
|
1039
|
+
$$css: !0
|
|
1040
|
+
},
|
|
1041
|
+
ember: {
|
|
1042
|
+
kMwMTN: "xc1rks8",
|
|
1043
|
+
$$css: !0
|
|
1044
|
+
},
|
|
1045
|
+
coral: {
|
|
1046
|
+
kMwMTN: "xxelmfz",
|
|
1047
|
+
$$css: !0
|
|
1048
|
+
},
|
|
1049
|
+
rose: {
|
|
1050
|
+
kMwMTN: "x74odtm",
|
|
1051
|
+
$$css: !0
|
|
1052
|
+
},
|
|
1053
|
+
berry: {
|
|
1054
|
+
kMwMTN: "x1g2ccfw",
|
|
1055
|
+
$$css: !0
|
|
1056
|
+
},
|
|
1057
|
+
plum: {
|
|
1058
|
+
kMwMTN: "x6pms0m",
|
|
1059
|
+
$$css: !0
|
|
1060
|
+
},
|
|
1061
|
+
orchid: {
|
|
1062
|
+
kMwMTN: "x1jkipek",
|
|
1063
|
+
$$css: !0
|
|
1064
|
+
},
|
|
1065
|
+
violet: {
|
|
1066
|
+
kMwMTN: "x1i8ffmr",
|
|
1067
|
+
$$css: !0
|
|
1068
|
+
},
|
|
1069
|
+
indigo: {
|
|
1070
|
+
kMwMTN: "xaldbr7",
|
|
1071
|
+
$$css: !0
|
|
1072
|
+
},
|
|
1073
|
+
iris: {
|
|
1074
|
+
kMwMTN: "xluaxyv",
|
|
1075
|
+
$$css: !0
|
|
1076
|
+
},
|
|
1077
|
+
cobalt: {
|
|
1078
|
+
kMwMTN: "x1gp8k07",
|
|
1079
|
+
$$css: !0
|
|
1080
|
+
},
|
|
1081
|
+
blue: {
|
|
1082
|
+
kMwMTN: "xhr7b8t",
|
|
1083
|
+
$$css: !0
|
|
1084
|
+
},
|
|
1085
|
+
sky: {
|
|
1086
|
+
kMwMTN: "xti44e0",
|
|
1087
|
+
$$css: !0
|
|
1088
|
+
},
|
|
1089
|
+
cyan: {
|
|
1090
|
+
kMwMTN: "x169v04l",
|
|
1091
|
+
$$css: !0
|
|
1092
|
+
},
|
|
1093
|
+
lagoon: {
|
|
1094
|
+
kMwMTN: "x1uqv9wq",
|
|
1095
|
+
$$css: !0
|
|
1096
|
+
},
|
|
1097
|
+
teal: {
|
|
1098
|
+
kMwMTN: "xifw4fl",
|
|
1099
|
+
$$css: !0
|
|
1100
|
+
},
|
|
1101
|
+
jade: {
|
|
1102
|
+
kMwMTN: "xwu6q0j",
|
|
1103
|
+
$$css: !0
|
|
1104
|
+
},
|
|
1105
|
+
mint: {
|
|
1106
|
+
kMwMTN: "x15uohq4",
|
|
1107
|
+
$$css: !0
|
|
1108
|
+
},
|
|
1109
|
+
forest: {
|
|
1110
|
+
kMwMTN: "xt31ejz",
|
|
1111
|
+
$$css: !0
|
|
1112
|
+
},
|
|
1113
|
+
leaf: {
|
|
1114
|
+
kMwMTN: "xj8eo06",
|
|
1115
|
+
$$css: !0
|
|
1116
|
+
},
|
|
1117
|
+
moss: {
|
|
1118
|
+
kMwMTN: "x1138u24",
|
|
1119
|
+
$$css: !0
|
|
1120
|
+
},
|
|
1121
|
+
olive: {
|
|
1122
|
+
kMwMTN: "x1lay6ol",
|
|
1123
|
+
$$css: !0
|
|
1124
|
+
},
|
|
1125
|
+
ochre: {
|
|
1126
|
+
kMwMTN: "xh1iifm",
|
|
1127
|
+
$$css: !0
|
|
1128
|
+
},
|
|
1129
|
+
amber: {
|
|
1130
|
+
kMwMTN: "xodba46",
|
|
1131
|
+
$$css: !0
|
|
1132
|
+
},
|
|
1133
|
+
copper: {
|
|
1134
|
+
kMwMTN: "x1b59cz5",
|
|
1135
|
+
$$css: !0
|
|
1136
|
+
}
|
|
1137
|
+
}, V = {
|
|
1138
|
+
xs: B.xs,
|
|
1139
|
+
sm: B.sm,
|
|
1140
|
+
md: B.md,
|
|
1141
|
+
lg: B.lg
|
|
1142
|
+
}, H = {
|
|
1143
|
+
ember: B.ember,
|
|
1144
|
+
coral: B.coral,
|
|
1145
|
+
rose: B.rose,
|
|
1146
|
+
berry: B.berry,
|
|
1147
|
+
plum: B.plum,
|
|
1148
|
+
orchid: B.orchid,
|
|
1149
|
+
violet: B.violet,
|
|
1150
|
+
indigo: B.indigo,
|
|
1151
|
+
iris: B.iris,
|
|
1152
|
+
cobalt: B.cobalt,
|
|
1153
|
+
blue: B.blue,
|
|
1154
|
+
sky: B.sky,
|
|
1155
|
+
cyan: B.cyan,
|
|
1156
|
+
lagoon: B.lagoon,
|
|
1157
|
+
teal: B.teal,
|
|
1158
|
+
jade: B.jade,
|
|
1159
|
+
mint: B.mint,
|
|
1160
|
+
forest: B.forest,
|
|
1161
|
+
leaf: B.leaf,
|
|
1162
|
+
moss: B.moss,
|
|
1163
|
+
olive: B.olive,
|
|
1164
|
+
ochre: B.ochre,
|
|
1165
|
+
amber: B.amber,
|
|
1166
|
+
copper: B.copper
|
|
1167
|
+
};
|
|
1168
|
+
function U(e) {
|
|
1169
|
+
let t = Array.from(e).reduce((e, t) => (e * 31 + (t.codePointAt(0) ?? 0)) % 2147483647, 0);
|
|
1170
|
+
return {
|
|
1171
|
+
shape: F[t % F.length] ?? "spark",
|
|
1172
|
+
color: R[Math.floor(t / F.length) % R.length] ?? "ember"
|
|
1173
|
+
};
|
|
1174
|
+
}
|
|
1175
|
+
function W({ seed: e, appearance: t, size: n = "sm", label: r }) {
|
|
1176
|
+
let i = t ?? U(e), o = s();
|
|
1177
|
+
return /* @__PURE__ */ f("svg", {
|
|
1178
|
+
viewBox: "0 0 24 24",
|
|
1179
|
+
fill: `url(#${o})`,
|
|
1180
|
+
fillOpacity: ".76",
|
|
1181
|
+
strokeWidth: ".65",
|
|
1182
|
+
strokeOpacity: ".9",
|
|
1183
|
+
strokeLinecap: "round",
|
|
1184
|
+
strokeLinejoin: "round",
|
|
1185
|
+
role: r === void 0 ? void 0 : "img",
|
|
1186
|
+
"aria-label": r,
|
|
1187
|
+
"aria-hidden": r === void 0 || void 0,
|
|
1188
|
+
...a.props(B.root, V[n], H[i.color]),
|
|
1189
|
+
children: [/* @__PURE__ */ d("defs", { children: /* @__PURE__ */ f("linearGradient", {
|
|
1190
|
+
id: o,
|
|
1191
|
+
x1: "0",
|
|
1192
|
+
y1: "0",
|
|
1193
|
+
x2: "1",
|
|
1194
|
+
y2: "1",
|
|
1195
|
+
children: [
|
|
1196
|
+
/* @__PURE__ */ d("stop", {
|
|
1197
|
+
offset: "0",
|
|
1198
|
+
stopColor: "currentColor",
|
|
1199
|
+
stopOpacity: ".6"
|
|
1200
|
+
}),
|
|
1201
|
+
/* @__PURE__ */ d("stop", {
|
|
1202
|
+
offset: ".65",
|
|
1203
|
+
stopColor: "currentColor",
|
|
1204
|
+
stopOpacity: "1"
|
|
1205
|
+
}),
|
|
1206
|
+
/* @__PURE__ */ d("stop", {
|
|
1207
|
+
offset: "1",
|
|
1208
|
+
stopColor: "currentColor",
|
|
1209
|
+
stopOpacity: ".8"
|
|
1210
|
+
})
|
|
1211
|
+
]
|
|
1212
|
+
}) }), L[i.shape]]
|
|
1213
|
+
});
|
|
1214
|
+
}
|
|
1215
|
+
// packages/core/src/copy-value.tsx
|
|
1216
|
+
var G = {
|
|
1217
|
+
value: {
|
|
1218
|
+
kJuA4N: "x15r89dc",
|
|
1219
|
+
k7Eaqz: "xeuugli",
|
|
1220
|
+
kHjlTd: "xj0a0fe",
|
|
1221
|
+
kcqcaj: "xss6m8b",
|
|
1222
|
+
kfSwDN: "x1hx0egp",
|
|
1223
|
+
$$css: !0
|
|
1224
|
+
},
|
|
1225
|
+
visible: { $$css: !0 },
|
|
1226
|
+
hidden: {
|
|
1227
|
+
k33iCy: "xlshs6z",
|
|
1228
|
+
$$css: !0
|
|
1229
|
+
}
|
|
1230
|
+
}, K = 1600, q = /* @__PURE__ */ new Set(["copied", "failed"]), J = {
|
|
1231
|
+
idle: G.visible,
|
|
1232
|
+
pending: G.visible,
|
|
1233
|
+
copied: G.hidden,
|
|
1234
|
+
failed: G.visible
|
|
1235
|
+
}, Y = {
|
|
1236
|
+
idle: G.hidden,
|
|
1237
|
+
pending: G.hidden,
|
|
1238
|
+
copied: G.visible,
|
|
1239
|
+
failed: G.hidden
|
|
1240
|
+
};
|
|
1241
|
+
function X({ value: i, label: s, display: u = "value", children: p, className: h, style: g, disabled: _ = !1, onClick: v, render: y, ...x }) {
|
|
1242
|
+
let [S, C] = l({
|
|
1243
|
+
value: i,
|
|
1244
|
+
status: "idle"
|
|
1245
|
+
}), w = c(0), T = S.value === i ? S.status : "idle";
|
|
1246
|
+
o(() => () => {
|
|
1247
|
+
w.current += 1;
|
|
1248
|
+
}, [i]), o(() => {
|
|
1249
|
+
if (!q.has(S.status)) return;
|
|
1250
|
+
let e = globalThis.setTimeout(() => {
|
|
1251
|
+
C((e) => e === S ? {
|
|
1252
|
+
value: i,
|
|
1253
|
+
status: "idle"
|
|
1254
|
+
} : e);
|
|
1255
|
+
}, K);
|
|
1256
|
+
return () => globalThis.clearTimeout(e);
|
|
1257
|
+
}, [S, i]);
|
|
1258
|
+
async function E() {
|
|
1259
|
+
w.current += 1;
|
|
1260
|
+
let e = w.current;
|
|
1261
|
+
C({
|
|
1262
|
+
value: i,
|
|
1263
|
+
status: "pending"
|
|
1264
|
+
});
|
|
1265
|
+
try {
|
|
1266
|
+
await navigator.clipboard.writeText(typeof i == "string" ? i : i()), w.current === e && C({
|
|
1267
|
+
value: i,
|
|
1268
|
+
status: "copied"
|
|
1269
|
+
});
|
|
1270
|
+
} catch {
|
|
1271
|
+
w.current === e && C({
|
|
1272
|
+
value: i,
|
|
1273
|
+
status: "failed"
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
let D = T === "copied" ? m : b, O = {
|
|
1278
|
+
idle: "",
|
|
1279
|
+
pending: "",
|
|
1280
|
+
copied: `${s} copied`,
|
|
1281
|
+
failed: `Could not copy ${s}. Select and copy the value.`
|
|
1282
|
+
}, k = r({ onClick: () => {
|
|
1283
|
+
E();
|
|
1284
|
+
} }, { onClick: v });
|
|
1285
|
+
return /* @__PURE__ */ f(n, {
|
|
1286
|
+
...x,
|
|
1287
|
+
render: y,
|
|
1288
|
+
...k,
|
|
1289
|
+
...e({
|
|
1290
|
+
className: h,
|
|
1291
|
+
style: g,
|
|
1292
|
+
styles: {
|
|
1293
|
+
0: {},
|
|
1294
|
+
1: { className: "x3nfvp2 x6s0dn4 x193iq5w x16exltd xwu7q15 xbgj81g x1717udv xc342km xjbqb8w x153jb6y x1hz01jw xj57cvi xvmahel xtqrqnz x1778rvt x1yc453h x1ypdohk x1wlwa7r xoqm7u7 xdibjt2 xwpgcpl xknznnm x19rmrnh x9v5kkp x13qnu6 x7s97pk" }
|
|
1295
|
+
}[y === void 0 | 0]
|
|
1296
|
+
}),
|
|
1297
|
+
type: "button",
|
|
1298
|
+
"aria-label": `Copy ${s}`,
|
|
1299
|
+
"aria-busy": T === "pending" || x["aria-busy"],
|
|
1300
|
+
disabled: _ || T === "pending",
|
|
1301
|
+
focusableWhenDisabled: T === "pending" || x.focusableWhenDisabled,
|
|
1302
|
+
title: x.title ?? (typeof i == "string" ? i : s),
|
|
1303
|
+
children: [
|
|
1304
|
+
u === "value" && /* @__PURE__ */ f("span", {
|
|
1305
|
+
className: "xwz0xwf xeuugli",
|
|
1306
|
+
children: [/* @__PURE__ */ d("span", {
|
|
1307
|
+
"aria-hidden": T === "copied",
|
|
1308
|
+
...a.props(G.value, J[T]),
|
|
1309
|
+
children: p ?? (typeof i == "string" ? i : s)
|
|
1310
|
+
}), /* @__PURE__ */ d("span", {
|
|
1311
|
+
"aria-hidden": T !== "copied",
|
|
1312
|
+
...a.props(G.value, Y[T]),
|
|
1313
|
+
children: "Copied"
|
|
1314
|
+
})]
|
|
1315
|
+
}),
|
|
1316
|
+
/* @__PURE__ */ d(D, {
|
|
1317
|
+
size: u === "icon" ? 16 : 12,
|
|
1318
|
+
"aria-hidden": !0,
|
|
1319
|
+
className: "x2lah0s"
|
|
1320
|
+
}),
|
|
1321
|
+
/* @__PURE__ */ d("span", {
|
|
1322
|
+
role: "status",
|
|
1323
|
+
...a.props(t.hidden),
|
|
1324
|
+
children: O[T]
|
|
1325
|
+
})
|
|
1326
|
+
]
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
// packages/core/src/disclosure.tsx
|
|
1330
|
+
function Z({ className: t, style: n, ...r }) {
|
|
1331
|
+
return /* @__PURE__ */ d(x.Root, {
|
|
1332
|
+
...r,
|
|
1333
|
+
...e({
|
|
1334
|
+
className: t,
|
|
1335
|
+
style: n,
|
|
1336
|
+
styles: { className: "xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi xbixft" }
|
|
1337
|
+
})
|
|
1338
|
+
});
|
|
1339
|
+
}
|
|
1340
|
+
function re({ className: t, style: n, ...r }) {
|
|
1341
|
+
return /* @__PURE__ */ d(x.Item, {
|
|
1342
|
+
...r,
|
|
1343
|
+
...e({
|
|
1344
|
+
className: t,
|
|
1345
|
+
style: n,
|
|
1346
|
+
styles: { className: "xso031l x1q0q8m5 x1qndepd" }
|
|
1347
|
+
})
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
function ie({ className: t, style: n, ...r }) {
|
|
1351
|
+
return /* @__PURE__ */ d(x.Header, {
|
|
1352
|
+
...r,
|
|
1353
|
+
...e({
|
|
1354
|
+
className: t,
|
|
1355
|
+
style: n,
|
|
1356
|
+
styles: { className: "x1ghz6dp x1qlqyl8 x1pd3egz" }
|
|
1357
|
+
})
|
|
1358
|
+
});
|
|
1359
|
+
}
|
|
1360
|
+
function ae({ className: t, style: n, children: r, ...i }) {
|
|
1361
|
+
return /* @__PURE__ */ f(x.Trigger, {
|
|
1362
|
+
...i,
|
|
1363
|
+
...e({
|
|
1364
|
+
className: t,
|
|
1365
|
+
style: n,
|
|
1366
|
+
styles: { className: "x78zum5 x6s0dn4 x1qughib x1hnptsi xh8yej3 x1uey4wk xwu7q15 xnjsko4 xn9t2bk xc342km xjbqb8w xvwfb5p xyg3wme xjb2p0i x1qlqyl8 x15bjb6t xk4h15q x1heor9g x1yc453h xj0a0fe x1ypdohk xwj21n9 x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x7s97pk x-default-marker" }
|
|
1367
|
+
}),
|
|
1368
|
+
children: [r, /* @__PURE__ */ d(h, {
|
|
1369
|
+
"aria-hidden": !0,
|
|
1370
|
+
className: "x2lah0s xtwnzbg x18utl2x x153jb6y x9tu13d x1felao3"
|
|
1371
|
+
})]
|
|
1372
|
+
});
|
|
1373
|
+
}
|
|
1374
|
+
function oe({ className: t, style: n, ...r }) {
|
|
1375
|
+
return /* @__PURE__ */ d(x.Panel, {
|
|
1376
|
+
...r,
|
|
1377
|
+
...e({
|
|
1378
|
+
className: t,
|
|
1379
|
+
style: n,
|
|
1380
|
+
styles: { className: "x1wpizpg xj0a0fe" }
|
|
1381
|
+
})
|
|
1382
|
+
});
|
|
1383
|
+
}
|
|
1384
|
+
function se({ className: t, style: n, ...r }) {
|
|
1385
|
+
return /* @__PURE__ */ d(S.Root, {
|
|
1386
|
+
...r,
|
|
1387
|
+
...e({
|
|
1388
|
+
className: t,
|
|
1389
|
+
style: n,
|
|
1390
|
+
styles: { className: "xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi xbixft" }
|
|
1391
|
+
})
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
function ce({ className: t, style: n, children: r, ...i }) {
|
|
1395
|
+
return /* @__PURE__ */ f(S.Trigger, {
|
|
1396
|
+
...i,
|
|
1397
|
+
...e({
|
|
1398
|
+
className: t,
|
|
1399
|
+
style: n,
|
|
1400
|
+
styles: { className: "x78zum5 x6s0dn4 x1qughib x1hnptsi xh8yej3 x1uey4wk xwu7q15 xnjsko4 xn9t2bk xc342km xjbqb8w xvwfb5p xyg3wme xjb2p0i x1qlqyl8 x15bjb6t xk4h15q x1heor9g x1yc453h xj0a0fe x1ypdohk xwj21n9 x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x7s97pk x-default-marker" }
|
|
1401
|
+
}),
|
|
1402
|
+
children: [r, /* @__PURE__ */ d(h, {
|
|
1403
|
+
"aria-hidden": !0,
|
|
1404
|
+
className: "x2lah0s xtwnzbg x18utl2x x153jb6y x9tu13d x1felao3"
|
|
1405
|
+
})]
|
|
1406
|
+
});
|
|
1407
|
+
}
|
|
1408
|
+
function le({ className: t, style: n, ...r }) {
|
|
1409
|
+
return /* @__PURE__ */ d(S.Panel, {
|
|
1410
|
+
...r,
|
|
1411
|
+
...e({
|
|
1412
|
+
className: t,
|
|
1413
|
+
style: n,
|
|
1414
|
+
styles: { className: "x1wpizpg xj0a0fe" }
|
|
1415
|
+
})
|
|
1416
|
+
});
|
|
1417
|
+
}
|
|
1418
|
+
var ue = {
|
|
1419
|
+
Root: Z,
|
|
1420
|
+
Item: re,
|
|
1421
|
+
Header: ie,
|
|
1422
|
+
Trigger: ae,
|
|
1423
|
+
Panel: oe
|
|
1424
|
+
}, de = {
|
|
1425
|
+
Root: se,
|
|
1426
|
+
Trigger: ce,
|
|
1427
|
+
Panel: le
|
|
1428
|
+
}, fe = { link: {
|
|
1429
|
+
k1xSpc: "x1lliihq",
|
|
1430
|
+
kB7OPa: "x9f619",
|
|
1431
|
+
k7Eaqz: "xeuugli",
|
|
1432
|
+
kAzted: "x2lwn1j xwu7q15",
|
|
1433
|
+
kaIpWk: "x1pjcqnp",
|
|
1434
|
+
kWkggS: "xjbqb8w",
|
|
1435
|
+
kMwMTN: "xbixft",
|
|
1436
|
+
kMv6JI: "x1hz01jw",
|
|
1437
|
+
k63SB2: "xj57cvi",
|
|
1438
|
+
kGuDYH: "xtqrqnz",
|
|
1439
|
+
kLWn49: "x1778rvt",
|
|
1440
|
+
khiITx: "xvmahel",
|
|
1441
|
+
kMnn75: "xkrqix3",
|
|
1442
|
+
kHjlTd: "xj0a0fe",
|
|
1443
|
+
ko0ZBZ: "x13nmlw8",
|
|
1444
|
+
kSReZ0: "x1ecmtor",
|
|
1445
|
+
kPJHz1: "x13qnu6",
|
|
1446
|
+
k7shQP: "x9v5kkp",
|
|
1447
|
+
kZs9gx: "x19rmrnh",
|
|
1448
|
+
kiEn40: "x8fq8g9",
|
|
1449
|
+
$$css: !0
|
|
1450
|
+
} };
|
|
1451
|
+
function pe({ padded: e = !0, ...t }) {
|
|
1452
|
+
return /* @__PURE__ */ d("section", { ...r({
|
|
1453
|
+
0: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel" },
|
|
1454
|
+
1: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel x1jvlu93" }
|
|
1455
|
+
}[!!e | 0], t) });
|
|
1456
|
+
}
|
|
1457
|
+
function me({ xstyle: e, ...t }) {
|
|
1458
|
+
return /* @__PURE__ */ d("a", { ...r(a.props(fe.link, e), t) });
|
|
1459
|
+
}
|
|
1460
|
+
function he({ between: e = !1, ...t }) {
|
|
1461
|
+
return /* @__PURE__ */ d("div", { ...r({
|
|
1462
|
+
0: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli" },
|
|
1463
|
+
1: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli x1qughib" }
|
|
1464
|
+
}[!!e | 0], t) });
|
|
1465
|
+
}
|
|
1466
|
+
function ge({ compact: e = !1, ...t }) {
|
|
1467
|
+
return /* @__PURE__ */ d("div", { ...r({
|
|
1468
|
+
0: { className: "x78zum5 xdt5ytf x1j825kq xeuugli" },
|
|
1469
|
+
1: { className: "x78zum5 xdt5ytf xeuugli x1hnptsi" }
|
|
1470
|
+
}[!!e | 0], t) });
|
|
1471
|
+
}
|
|
1472
|
+
function _e(e) {
|
|
1473
|
+
return /* @__PURE__ */ d("div", { ...r({ className: "xrvj5dj xhuszhj x1m6b44x xeuugli" }, e) });
|
|
1474
|
+
}
|
|
1475
|
+
function ve(e) {
|
|
1476
|
+
return /* @__PURE__ */ d("hr", { ...r({ className: "xc342km x178xt8z x1y0btm7 x1ey3b81 x1ghz6dp" }, e) });
|
|
1477
|
+
}
|
|
1478
|
+
// packages/core/src/text.tsx
|
|
1479
|
+
var Q = {
|
|
1480
|
+
text: {
|
|
1481
|
+
kogj98: "x1ghz6dp",
|
|
1482
|
+
kMv6JI: "x1hz01jw",
|
|
1483
|
+
k63SB2: "xj57cvi",
|
|
1484
|
+
khiITx: "xvmahel",
|
|
1485
|
+
kHjlTd: "xj0a0fe",
|
|
1486
|
+
$$css: !0
|
|
1487
|
+
},
|
|
1488
|
+
body: {
|
|
1489
|
+
kGuDYH: "xtqrqnz",
|
|
1490
|
+
kLWn49: "x1778rvt",
|
|
1491
|
+
$$css: !0
|
|
1492
|
+
},
|
|
1493
|
+
caption: {
|
|
1494
|
+
kGuDYH: "xy8obcc",
|
|
1495
|
+
kLWn49: "xas2l8k",
|
|
1496
|
+
$$css: !0
|
|
1497
|
+
},
|
|
1498
|
+
ink: {
|
|
1499
|
+
kMwMTN: "xbixft",
|
|
1500
|
+
$$css: !0
|
|
1501
|
+
},
|
|
1502
|
+
muted: {
|
|
1503
|
+
kMwMTN: "x153jb6y",
|
|
1504
|
+
$$css: !0
|
|
1505
|
+
},
|
|
1506
|
+
mono: {
|
|
1507
|
+
kMv6JI: "xiard35",
|
|
1508
|
+
kGuDYH: "xy8obcc",
|
|
1509
|
+
kLWn49: "x1778rvt",
|
|
1510
|
+
kHjlTd: "xj0a0fe",
|
|
1511
|
+
$$css: !0
|
|
1512
|
+
},
|
|
1513
|
+
prose: {
|
|
1514
|
+
ks0D6T: "x1ewvobj",
|
|
1515
|
+
khDVqt: "x126k92a",
|
|
1516
|
+
kHjlTd: "xj0a0fe",
|
|
1517
|
+
kGuDYH: "x12myhf4",
|
|
1518
|
+
kLWn49: "x1ytb0s6",
|
|
1519
|
+
$$css: !0
|
|
1520
|
+
},
|
|
1521
|
+
badge: {
|
|
1522
|
+
k1xSpc: "x3nfvp2",
|
|
1523
|
+
kmuXW: "x2lah0s",
|
|
1524
|
+
kGNEyG: "x6s0dn4",
|
|
1525
|
+
kOIVth: "xunmzkg",
|
|
1526
|
+
kaIpWk: "x1ok0vyi",
|
|
1527
|
+
k8WAf4: "x10dazmo",
|
|
1528
|
+
kg3NbH: "x5g2kb4",
|
|
1529
|
+
kMv6JI: "x1hz01jw",
|
|
1530
|
+
khiITx: "xvmahel",
|
|
1531
|
+
kGuDYH: "xy8obcc",
|
|
1532
|
+
kLWn49: "x1778rvt",
|
|
1533
|
+
k63SB2: "xk4h15q",
|
|
1534
|
+
ks0D6T: "x193iq5w",
|
|
1535
|
+
kB7OPa: "x9f619",
|
|
1536
|
+
kzqmXN: "xeq5yr9",
|
|
1537
|
+
$$css: !0
|
|
1538
|
+
},
|
|
1539
|
+
neutral: {
|
|
1540
|
+
kMwMTN: "x153jb6y",
|
|
1541
|
+
kWkggS: "x1r7kqkb",
|
|
1542
|
+
$$css: !0
|
|
1543
|
+
},
|
|
1544
|
+
positive: {
|
|
1545
|
+
kMwMTN: "x7ixh4y",
|
|
1546
|
+
kWkggS: "x1r8u7ye",
|
|
1547
|
+
$$css: !0
|
|
1548
|
+
},
|
|
1549
|
+
warning: {
|
|
1550
|
+
kMwMTN: "x1f9ixgr",
|
|
1551
|
+
kWkggS: "x1dqe72f",
|
|
1552
|
+
$$css: !0
|
|
1553
|
+
},
|
|
1554
|
+
negative: {
|
|
1555
|
+
kMwMTN: "xr5kp14",
|
|
1556
|
+
kWkggS: "xcqwzn",
|
|
1557
|
+
$$css: !0
|
|
1558
|
+
},
|
|
1559
|
+
statusIcon: {
|
|
1560
|
+
kmuXW: "x2lah0s",
|
|
1561
|
+
$$css: !0
|
|
1562
|
+
},
|
|
1563
|
+
neutralIcon: {
|
|
1564
|
+
kMwMTN: "x153jb6y",
|
|
1565
|
+
$$css: !0
|
|
1566
|
+
},
|
|
1567
|
+
positiveIcon: {
|
|
1568
|
+
kMwMTN: "x7ixh4y",
|
|
1569
|
+
$$css: !0
|
|
1570
|
+
},
|
|
1571
|
+
warningIcon: {
|
|
1572
|
+
kMwMTN: "x1f9ixgr",
|
|
1573
|
+
$$css: !0
|
|
1574
|
+
},
|
|
1575
|
+
negativeIcon: {
|
|
1576
|
+
kMwMTN: "xr5kp14",
|
|
1577
|
+
$$css: !0
|
|
1578
|
+
}
|
|
1579
|
+
}, ye = {
|
|
1580
|
+
body: Q.body,
|
|
1581
|
+
caption: Q.caption,
|
|
1582
|
+
mono: Q.mono,
|
|
1583
|
+
prose: Q.prose
|
|
1584
|
+
}, be = {
|
|
1585
|
+
ink: Q.ink,
|
|
1586
|
+
muted: Q.muted
|
|
1587
|
+
}, $ = {
|
|
1588
|
+
neutral: Q.neutral,
|
|
1589
|
+
positive: Q.positive,
|
|
1590
|
+
warning: Q.warning,
|
|
1591
|
+
negative: Q.negative
|
|
1592
|
+
}, xe = {
|
|
1593
|
+
neutral: Q.neutralIcon,
|
|
1594
|
+
positive: Q.positiveIcon,
|
|
1595
|
+
warning: Q.warningIcon,
|
|
1596
|
+
negative: Q.negativeIcon
|
|
1597
|
+
}, Se = {
|
|
1598
|
+
neutral: g,
|
|
1599
|
+
positive: _,
|
|
1600
|
+
warning: y,
|
|
1601
|
+
negative: v
|
|
1602
|
+
};
|
|
1603
|
+
function Ce({ variant: e = "body", tone: t = "ink", xstyle: n, ...i }) {
|
|
1604
|
+
return /* @__PURE__ */ d("span", { ...r(a.props(Q.text, ye[e], be[t], n), i) });
|
|
1605
|
+
}
|
|
1606
|
+
function we({ compact: e = !1, ...t }) {
|
|
1607
|
+
return /* @__PURE__ */ d("h1", { ...r({
|
|
1608
|
+
0: { className: "x1ghz6dp x1hz01jw xvmahel xc0f4dz x1sfszr9 xzju6ct x197eox2 x1b5ytql x1wjjqco xbixft xj0a0fe" },
|
|
1609
|
+
1: { className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }
|
|
1610
|
+
}[!!e | 0], t) });
|
|
1611
|
+
}
|
|
1612
|
+
function Te(e) {
|
|
1613
|
+
return /* @__PURE__ */ d("h2", { ...r({ className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }, e) });
|
|
1614
|
+
}
|
|
1615
|
+
function Ee(e) {
|
|
1616
|
+
return /* @__PURE__ */ d("p", { ...r({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel xj0a0fe xtqrqnz x1778rvt x153jb6y" }, e) });
|
|
1617
|
+
}
|
|
1618
|
+
function De(e) {
|
|
1619
|
+
return /* @__PURE__ */ d("span", { ...r({ className: "x1ghz6dp xj57cvi xvmahel xiard35 xy8obcc x1778rvt xj0a0fe x153jb6y" }, e) });
|
|
1620
|
+
}
|
|
1621
|
+
function Oe(e) {
|
|
1622
|
+
return /* @__PURE__ */ d("pre", { ...r({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel x1ewvobj x126k92a xj0a0fe x12myhf4 x1ytb0s6 xbixft" }, e) });
|
|
1623
|
+
}
|
|
1624
|
+
function ke({ children: e, tone: t = "neutral", ...n }) {
|
|
1625
|
+
return /* @__PURE__ */ f("span", {
|
|
1626
|
+
...r(a.props(Q.badge, $[t]), n),
|
|
1627
|
+
children: [/* @__PURE__ */ d(g, {
|
|
1628
|
+
size: 5,
|
|
1629
|
+
fill: "currentColor",
|
|
1630
|
+
"aria-hidden": !0,
|
|
1631
|
+
className: "x2lah0s"
|
|
1632
|
+
}), /* @__PURE__ */ d("span", {
|
|
1633
|
+
className: "xeuugli xj0a0fe",
|
|
1634
|
+
children: e
|
|
1635
|
+
})]
|
|
1636
|
+
});
|
|
1637
|
+
}
|
|
1638
|
+
function Ae({ children: e, tone: t = "neutral", ...n }) {
|
|
1639
|
+
let i = Se[t];
|
|
1640
|
+
return /* @__PURE__ */ f("span", {
|
|
1641
|
+
...r({ className: "x3nfvp2 x6s0dn4 xbgj81g xbixft x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi x193iq5w" }, n),
|
|
1642
|
+
children: [/* @__PURE__ */ d(i, {
|
|
1643
|
+
size: 14,
|
|
1644
|
+
"aria-hidden": !0,
|
|
1645
|
+
...a.props(Q.statusIcon, xe[t])
|
|
1646
|
+
}), /* @__PURE__ */ d("span", {
|
|
1647
|
+
className: "xeuugli xj0a0fe",
|
|
1648
|
+
children: e
|
|
1649
|
+
})]
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
export { k as C, j as D, A as E, te as S, M as T, X as _, Oe as a, z as b, Ce as c, pe as d, he as f, de as g, ue as h, Ee as i, _e as l, me as m, we as n, Ae as o, ge as p, De as r, Te as s, ke as t, ve as u, W as v, ee as w, ne as x, U as y };
|