fansunited-widgets-cdn 0.0.86-RC4 → 0.0.86-RC5
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/chunks/{Alert-DuMXT9be.js → Alert-B6o66mYo.js} +39 -39
- package/chunks/{CardContent-COgjZl3_.js → CardContent-NCZhfGcZ.js} +16 -16
- package/chunks/{Snackbar-DJz-WddP.js → ChevronRight-1pLZ7T0v.js} +100 -94
- package/chunks/{ClassicQuizWrapper-C7svf4eh.js → ClassicQuizWrapper-n2epPO4k.js} +201 -205
- package/chunks/CollectLeadForm-C_3plJtn-Dr8J3eDw.js +3918 -0
- package/chunks/{CollectLeadWrapper-DACvBsa_.js → CollectLeadWrapper-CCtTZAxL.js} +55 -56
- package/chunks/EitherOrById-ClGwMK0b.js +6820 -0
- package/chunks/EitherOrPreviewWrapper-BYiKyYwi.js +46 -0
- package/chunks/Error-BurPfBJw-DWYn31sK.js +1119 -0
- package/chunks/{EventGameWrapper-DmjaKr3I.js → EventGameWrapper-BphusLTk.js} +208 -219
- package/chunks/{Grid-BbegUe2J.js → Grid-yjqNNhEx.js} +32 -32
- package/chunks/{IconButton-zh1RLwcE.js → IconButton-D7onwgY0.js} +22 -22
- package/chunks/{List-CA3L6bUS.js → List-8Vy9IZiv.js} +26 -29
- package/chunks/{MatchPredictionContainer-CmHKsJ_z.js → MatchPredictionContainer-BGytBwLo.js} +52 -54
- package/chunks/{MatchQuizWrapper-BxHHl4a5.js → MatchQuizWrapper-BGjldBpF.js} +73 -85
- package/chunks/{OverlayLeadAfterCollection-DnqztPJ5-CJnicIes.js → OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js} +104 -105
- package/chunks/{OverlayScoreStateSkeleton-C9FUhcnd-CZ7cct30.js → OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js} +18 -19
- package/chunks/{PersonalityQuizWrapper-B-Rkzvc0.js → PersonalityQuizWrapper-BgLFw5tM.js} +3 -3
- package/chunks/{PlayerOfTheMatch-CzGMT1jr.js → PlayerOfTheMatch-CImBLG3T.js} +1008 -609
- package/chunks/{PollWrapper-Cdl3AbXE.js → PollWrapper-QpIKCCVF.js} +30 -34
- package/chunks/Portal-DegkUXpU-ByGP9zS1.js +19236 -0
- package/chunks/{PreviewQuizById-CPiwewW_.js → PreviewQuizById-Ba6yhxKV.js} +11 -14
- package/chunks/Sheet-U5EnSrgg.js +282 -0
- package/chunks/{Stack-BBjT-MoB.js → Stack-DbDi7kPO.js} +30 -30
- package/chunks/Tabs-leN3Fb8D--YMyy3EM.js +783 -0
- package/chunks/{TeamNextMatchPrediction-BOOGeVEv.js → TeamNextMatchPrediction-9VSQOCcC.js} +2 -2
- package/chunks/Tutorial-CRJLOovs.js +1072 -0
- package/chunks/createLucideIcon-CMWOQsDL.js +381 -0
- package/chunks/{createSvgIcon-cOpRx8M1.js → createSvgIcon-D9D4a1R9.js} +412 -390
- package/chunks/default-quiz-bg-ADjjIfPj.js +126 -0
- package/chunks/{index-CNAE4RYY.js → index-0ADq_9jd.js} +1 -1
- package/chunks/{index-D9kNvflO.js → index-B74jHeYm.js} +2 -2
- package/chunks/{index-Dr-yGqo_.js → index-BfVvJg5R.js} +1 -1
- package/chunks/{index-D3wDyWq_.js → index-BycLbIYY.js} +1 -1
- package/chunks/{index-BKyd0MUt.js → index-C6KAc5B_.js} +1 -1
- package/chunks/{index-BkU2GDR4.js → index-CHV6tlpH.js} +5 -5
- package/chunks/{index-Uv42o9aR.js → index-CILd3yUc.js} +1 -1
- package/chunks/index-CJqcqbHq.js +5 -0
- package/chunks/{index-DrlzgjUf.js → index-CK2RXrJm.js} +1 -1
- package/chunks/{index-DFXrZaoM.js → index-CPTAlr_t.js} +1 -1
- package/chunks/{index-D1SEUyHT.js → index-CiB_Gqim.js} +1 -1
- package/chunks/{index-CNukXTLi.js → index-CvGJXa6l.js} +1 -1
- package/chunks/{index-CpFMxpj1.js → index-CviTG4Nv.js} +1 -1
- package/chunks/index-DUQ2LFod-Cw45tHim.js +4510 -0
- package/chunks/{index-DbZ10tsY.js → index-Da0AXb_O.js} +1 -1
- package/chunks/{index-CiI_vSMR.js → index-DwR4J2nN.js} +1 -1
- package/chunks/{index-CMhbRdLz.js → index-UwW9niUj.js} +1 -1
- package/chunks/index.es-wHqA4PHm.js +11480 -0
- package/chunks/{init-DYY4CJtu.js → init-C-gCorsh.js} +1 -1
- package/chunks/{main-NO9IQFuY.js → main-Bh6iw92_.js} +94 -110
- package/chunks/{Button-DJj0KOh3.js → resolveProps-Bgg0H6c2.js} +471 -313
- package/chunks/{users-C-6eqEb6.js → users-CXdzg3DM.js} +1 -1
- package/fu-widgets.es.js +2 -2
- package/fu-widgets.iife.js +310 -257
- package/manifest.json +56 -72
- package/package.json +1 -1
- package/chunks/AspectRatio-CKWgGwn-.js +0 -125
- package/chunks/Avatar-Cv70g9HX.js +0 -186
- package/chunks/Card-BDn3dk3E.js +0 -129
- package/chunks/ChevronRight-BwGivLSL.js +0 -11
- package/chunks/Chip-BkY7Uww3.js +0 -281
- package/chunks/CollectLeadForm-DtmR2Vuf-DvAoHDnn.js +0 -1560
- package/chunks/DialogActions-CuXgjeCi.js +0 -45
- package/chunks/DialogContent-CyQJ8yz-.js +0 -60
- package/chunks/EitherOrById-B8v0nJmv.js +0 -1496
- package/chunks/EitherOrPreviewWrapper-C9O6TEVe.js +0 -47
- package/chunks/Error-DhQL89pn-DD0O1kEt.js +0 -418
- package/chunks/Link-Cw8ci6QQ.js +0 -228
- package/chunks/ListItemDecorator-DwvO_ty1.js +0 -1882
- package/chunks/ModalDialog-DLPhSR9-.js +0 -619
- package/chunks/NotFoundSkeleton-BYJTzYJR-JURKfNZv.js +0 -2764
- package/chunks/Portal-BWqqFvVm-pvatNKfM.js +0 -12717
- package/chunks/Portal-BsATdUrC.js +0 -41
- package/chunks/Select-Cewujqtd.js +0 -3418
- package/chunks/Sheet-B8wNvQTa.js +0 -167
- package/chunks/Tabs-BP1RMTCA.js +0 -784
- package/chunks/Tutorial-B1LWDD9l.js +0 -427
- package/chunks/createLucideIcon-nPUeaUEe.js +0 -79
- package/chunks/createSvgIcon-DhITitgm.js +0 -119
- package/chunks/default-quiz-bg-CTzaADn7.js +0 -4
- package/chunks/getReactElementRef-66jU_By9.js +0 -25
- package/chunks/index-BPH9IX2Q.js +0 -5
- package/chunks/index.es-BZbN3xaq.js +0 -6162
- package/chunks/resolveProps-BfYZubfk.js +0 -37
- package/chunks/variantColorInheritance-DVZ9CGcB.js +0 -28
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
import { j as d, r as l, d as G, g as K, e as Z, f as q, _ as s, h as m, s as g, w, V as Q, i as f, k as X } from "./main-Bh6iw92_.js";
|
|
2
|
+
import { f as Y, r as oo } from "./resolveProps-Bgg0H6c2.js";
|
|
3
|
+
const k = /* @__PURE__ */ l.createContext(void 0);
|
|
4
|
+
function ro(r, o) {
|
|
5
|
+
let i = o, a = r;
|
|
6
|
+
return r === "outlined" && (i = "neutral", a = "plain"), r === "plain" && (i = "neutral"), {
|
|
7
|
+
variant: a,
|
|
8
|
+
color: i
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function bo(r, o, i = !1) {
|
|
12
|
+
const a = l.useContext(k), [t, e] = typeof a == "string" ? a.split(":") : [], n = ro(t || void 0, e || void 0);
|
|
13
|
+
return n.variant = r || n.variant, n.color = o || (i ? e : n.color), n;
|
|
14
|
+
}
|
|
15
|
+
function io({
|
|
16
|
+
children: r,
|
|
17
|
+
color: o,
|
|
18
|
+
variant: i
|
|
19
|
+
}) {
|
|
20
|
+
return /* @__PURE__ */ d.jsx(k.Provider, {
|
|
21
|
+
value: `${i || ""}:${o || ""}`,
|
|
22
|
+
children: r
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function ao(r) {
|
|
26
|
+
return K("MuiChip", r);
|
|
27
|
+
}
|
|
28
|
+
const I = G("MuiChip", ["root", "clickable", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "disabled", "endDecorator", "focusVisible", "label", "labelSm", "labelMd", "labelLg", "sizeSm", "sizeMd", "sizeLg", "startDecorator", "variantPlain", "variantSolid", "variantSoft", "variantOutlined"]), eo = /* @__PURE__ */ l.createContext({
|
|
29
|
+
disabled: void 0,
|
|
30
|
+
variant: void 0,
|
|
31
|
+
color: void 0
|
|
32
|
+
}), to = ["children", "className", "color", "onClick", "disabled", "size", "variant", "startDecorator", "endDecorator", "component", "slots", "slotProps"], no = (r) => {
|
|
33
|
+
const {
|
|
34
|
+
disabled: o,
|
|
35
|
+
size: i,
|
|
36
|
+
color: a,
|
|
37
|
+
clickable: t,
|
|
38
|
+
variant: e,
|
|
39
|
+
focusVisible: n
|
|
40
|
+
} = r, p = {
|
|
41
|
+
root: ["root", o && "disabled", a && `color${f(a)}`, i && `size${f(i)}`, e && `variant${f(e)}`, t && "clickable"],
|
|
42
|
+
action: ["action", o && "disabled", n && "focusVisible"],
|
|
43
|
+
label: ["label", i && `label${f(i)}`],
|
|
44
|
+
startDecorator: ["startDecorator"],
|
|
45
|
+
endDecorator: ["endDecorator"]
|
|
46
|
+
};
|
|
47
|
+
return X(p, ao, {});
|
|
48
|
+
}, so = g("div", {
|
|
49
|
+
name: "JoyChip",
|
|
50
|
+
slot: "Root",
|
|
51
|
+
overridesResolver: (r, o) => o.root
|
|
52
|
+
})(({
|
|
53
|
+
theme: r,
|
|
54
|
+
ownerState: o
|
|
55
|
+
}) => {
|
|
56
|
+
var i, a, t;
|
|
57
|
+
const e = (i = r.variants[o.variant]) == null ? void 0 : i[o.color], {
|
|
58
|
+
borderRadius: n
|
|
59
|
+
} = oo({
|
|
60
|
+
theme: r,
|
|
61
|
+
ownerState: o
|
|
62
|
+
}, ["borderRadius"]);
|
|
63
|
+
return [s({
|
|
64
|
+
// for controlling chip delete margin offset
|
|
65
|
+
"--Chip-decoratorChildOffset": "min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))",
|
|
66
|
+
"--Chip-decoratorChildRadius": "max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))",
|
|
67
|
+
"--Chip-deleteRadius": "var(--Chip-decoratorChildRadius)",
|
|
68
|
+
"--Chip-deleteSize": "var(--Chip-decoratorChildHeight)",
|
|
69
|
+
"--Avatar-radius": "var(--Chip-decoratorChildRadius)",
|
|
70
|
+
"--Avatar-size": "var(--Chip-decoratorChildHeight)",
|
|
71
|
+
"--Icon-margin": "initial",
|
|
72
|
+
// reset the icon's margin.
|
|
73
|
+
"--Icon-color": "currentColor",
|
|
74
|
+
"--unstable_actionRadius": "var(--_Chip-radius)"
|
|
75
|
+
}, o.size === "sm" && {
|
|
76
|
+
"--Chip-paddingInline": "0.375rem",
|
|
77
|
+
"--Chip-decoratorChildHeight": "calc(var(--_Chip-minHeight) - 2 * var(--variant-borderWidth))",
|
|
78
|
+
"--Icon-fontSize": r.vars.fontSize.sm,
|
|
79
|
+
"--_Chip-minHeight": "var(--Chip-minHeight, 1.25rem)",
|
|
80
|
+
// 20px
|
|
81
|
+
gap: "3px"
|
|
82
|
+
}, o.size === "md" && {
|
|
83
|
+
"--Chip-paddingInline": "0.5rem",
|
|
84
|
+
"--Chip-decoratorChildHeight": "calc(var(--_Chip-minHeight) - 0.25rem - 2 * var(--variant-borderWidth))",
|
|
85
|
+
"--Icon-fontSize": r.vars.fontSize.md,
|
|
86
|
+
"--_Chip-minHeight": "var(--Chip-minHeight, 1.5rem)",
|
|
87
|
+
// 26px
|
|
88
|
+
gap: "0.25rem"
|
|
89
|
+
}, o.size === "lg" && {
|
|
90
|
+
"--Chip-paddingInline": "0.75rem",
|
|
91
|
+
"--Chip-decoratorChildHeight": "calc(var(--_Chip-minHeight) - 0.375rem - 2 * var(--variant-borderWidth))",
|
|
92
|
+
"--Icon-fontSize": r.vars.fontSize.lg,
|
|
93
|
+
"--_Chip-minHeight": "var(--Chip-minHeight, 1.75rem)",
|
|
94
|
+
// 28px
|
|
95
|
+
gap: "0.375rem"
|
|
96
|
+
}, {
|
|
97
|
+
"--_Chip-radius": "var(--Chip-radius, 1.5rem)",
|
|
98
|
+
"--_Chip-paddingBlock": "max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",
|
|
99
|
+
minHeight: "var(--_Chip-minHeight)",
|
|
100
|
+
maxWidth: "max-content",
|
|
101
|
+
// to prevent Chip from stretching to full width when used with flexbox
|
|
102
|
+
paddingInline: "var(--Chip-paddingInline)",
|
|
103
|
+
borderRadius: "var(--_Chip-radius)",
|
|
104
|
+
position: "relative",
|
|
105
|
+
display: "inline-flex",
|
|
106
|
+
alignItems: "center",
|
|
107
|
+
justifyContent: "center",
|
|
108
|
+
whiteSpace: "nowrap",
|
|
109
|
+
textDecoration: "none",
|
|
110
|
+
verticalAlign: "middle",
|
|
111
|
+
boxSizing: "border-box"
|
|
112
|
+
}, r.typography[`body-${{
|
|
113
|
+
sm: "xs",
|
|
114
|
+
md: "sm",
|
|
115
|
+
lg: "md"
|
|
116
|
+
}[o.size]}`], {
|
|
117
|
+
fontWeight: r.vars.fontWeight.md,
|
|
118
|
+
[`&.${I.disabled}`]: {
|
|
119
|
+
color: (a = r.variants[`${o.variant}Disabled`]) == null || (a = a[o.color]) == null ? void 0 : a.color
|
|
120
|
+
}
|
|
121
|
+
}), ...o.clickable ? [{
|
|
122
|
+
"--variant-borderWidth": "0px",
|
|
123
|
+
color: e == null ? void 0 : e.color
|
|
124
|
+
}] : [s({
|
|
125
|
+
backgroundColor: r.vars.palette.background.surface
|
|
126
|
+
}, e, {
|
|
127
|
+
[`&.${I.disabled}`]: (t = r.variants[`${o.variant}Disabled`]) == null ? void 0 : t[o.color]
|
|
128
|
+
})], n !== void 0 && {
|
|
129
|
+
"--_Chip-radius": n
|
|
130
|
+
}];
|
|
131
|
+
}), lo = g("span", {
|
|
132
|
+
name: "JoyChip",
|
|
133
|
+
slot: "Label",
|
|
134
|
+
overridesResolver: (r, o) => o.label
|
|
135
|
+
})(({
|
|
136
|
+
ownerState: r
|
|
137
|
+
}) => s({
|
|
138
|
+
display: "inline-block",
|
|
139
|
+
overflow: "hidden",
|
|
140
|
+
textOverflow: "ellipsis",
|
|
141
|
+
order: 1,
|
|
142
|
+
minInlineSize: 0,
|
|
143
|
+
flexGrow: 1
|
|
144
|
+
}, r.clickable && {
|
|
145
|
+
zIndex: 1,
|
|
146
|
+
pointerEvents: "none"
|
|
147
|
+
})), co = g("button", {
|
|
148
|
+
name: "JoyChip",
|
|
149
|
+
slot: "Action",
|
|
150
|
+
overridesResolver: (r, o) => o.action
|
|
151
|
+
})(({
|
|
152
|
+
theme: r,
|
|
153
|
+
ownerState: o
|
|
154
|
+
}) => {
|
|
155
|
+
var i, a, t, e;
|
|
156
|
+
return [{
|
|
157
|
+
"--Icon-color": o.color !== "neutral" || o.variant === "solid" ? "currentColor" : r.vars.palette.text.icon,
|
|
158
|
+
position: "absolute",
|
|
159
|
+
zIndex: 0,
|
|
160
|
+
top: 0,
|
|
161
|
+
left: 0,
|
|
162
|
+
bottom: 0,
|
|
163
|
+
right: 0,
|
|
164
|
+
width: "100%",
|
|
165
|
+
// To fix Firefox issue (https://github.com/mui/material-ui/issues/36877)
|
|
166
|
+
border: "none",
|
|
167
|
+
cursor: "pointer",
|
|
168
|
+
padding: "initial",
|
|
169
|
+
margin: "initial",
|
|
170
|
+
backgroundColor: "initial",
|
|
171
|
+
textDecoration: "none",
|
|
172
|
+
borderRadius: "inherit",
|
|
173
|
+
[r.focus.selector]: r.focus.default
|
|
174
|
+
}, s({
|
|
175
|
+
backgroundColor: r.vars.palette.background.surface
|
|
176
|
+
}, (i = r.variants[o.variant]) == null ? void 0 : i[o.color]), {
|
|
177
|
+
"&:hover": {
|
|
178
|
+
"@media (hover: hover)": (a = r.variants[`${o.variant}Hover`]) == null ? void 0 : a[o.color]
|
|
179
|
+
}
|
|
180
|
+
}, {
|
|
181
|
+
"&:active": (t = r.variants[`${o.variant}Active`]) == null ? void 0 : t[o.color]
|
|
182
|
+
}, {
|
|
183
|
+
[`&.${I.disabled}`]: (e = r.variants[`${o.variant}Disabled`]) == null ? void 0 : e[o.color]
|
|
184
|
+
}];
|
|
185
|
+
}), po = g("span", {
|
|
186
|
+
name: "JoyChip",
|
|
187
|
+
slot: "StartDecorator",
|
|
188
|
+
overridesResolver: (r, o) => o.startDecorator
|
|
189
|
+
})({
|
|
190
|
+
"--Avatar-marginInlineStart": "calc(var(--Chip-decoratorChildOffset) * -1)",
|
|
191
|
+
"--IconButton-margin": "0 calc(-1 * var(--Chip-paddingInline) / 3) 0 calc(var(--Chip-decoratorChildOffset) * -1)",
|
|
192
|
+
"--Icon-margin": "0 0 0 calc(var(--Chip-paddingInline) / -4)",
|
|
193
|
+
display: "inherit",
|
|
194
|
+
// set zIndex to 1 with order to stay on top of other controls, for example Checkbox, Radio
|
|
195
|
+
order: 0,
|
|
196
|
+
zIndex: 1,
|
|
197
|
+
pointerEvents: "none"
|
|
198
|
+
}), vo = g("span", {
|
|
199
|
+
name: "JoyChip",
|
|
200
|
+
slot: "EndDecorator",
|
|
201
|
+
overridesResolver: (r, o) => o.endDecorator
|
|
202
|
+
})({
|
|
203
|
+
"--IconButton-margin": "0 calc(var(--Chip-decoratorChildOffset) * -1) 0 calc(-1 * var(--Chip-paddingInline) / 3)",
|
|
204
|
+
"--Icon-margin": "0 calc(var(--Chip-paddingInline) / -4) 0 0",
|
|
205
|
+
display: "inherit",
|
|
206
|
+
// set zIndex to 1 with order to stay on top of other controls, for example Checkbox, Radio
|
|
207
|
+
order: 2,
|
|
208
|
+
zIndex: 1,
|
|
209
|
+
pointerEvents: "none"
|
|
210
|
+
}), fo = /* @__PURE__ */ l.forwardRef(function(o, i) {
|
|
211
|
+
const a = Z({
|
|
212
|
+
props: o,
|
|
213
|
+
name: "JoyChip"
|
|
214
|
+
}), {
|
|
215
|
+
children: t,
|
|
216
|
+
className: e,
|
|
217
|
+
color: n = "neutral",
|
|
218
|
+
onClick: p,
|
|
219
|
+
disabled: v = !1,
|
|
220
|
+
size: x = "md",
|
|
221
|
+
variant: b = "soft",
|
|
222
|
+
startDecorator: D,
|
|
223
|
+
endDecorator: _,
|
|
224
|
+
component: P,
|
|
225
|
+
slots: j = {},
|
|
226
|
+
slotProps: h = {}
|
|
227
|
+
} = a, A = q(a, to), $ = !!p || !!h.action, c = s({}, a, {
|
|
228
|
+
disabled: v,
|
|
229
|
+
size: x,
|
|
230
|
+
color: n,
|
|
231
|
+
variant: b,
|
|
232
|
+
clickable: $,
|
|
233
|
+
focusVisible: !1
|
|
234
|
+
}), y = typeof h.action == "function" ? h.action(c) : h.action, W = l.useRef(null), {
|
|
235
|
+
focusVisible: V,
|
|
236
|
+
getRootProps: E
|
|
237
|
+
} = Y(s({}, y, {
|
|
238
|
+
disabled: v,
|
|
239
|
+
rootRef: W
|
|
240
|
+
}));
|
|
241
|
+
c.focusVisible = V;
|
|
242
|
+
const C = no(c), u = s({}, A, {
|
|
243
|
+
component: P,
|
|
244
|
+
slots: j,
|
|
245
|
+
slotProps: h
|
|
246
|
+
}), [L, N] = m("root", {
|
|
247
|
+
ref: i,
|
|
248
|
+
className: w(C.root, e),
|
|
249
|
+
elementType: so,
|
|
250
|
+
externalForwardedProps: u,
|
|
251
|
+
ownerState: c
|
|
252
|
+
}), [S, z] = m("label", {
|
|
253
|
+
className: C.label,
|
|
254
|
+
elementType: lo,
|
|
255
|
+
externalForwardedProps: u,
|
|
256
|
+
ownerState: c
|
|
257
|
+
}), R = Q(z.id), [B, O] = m("action", {
|
|
258
|
+
className: C.action,
|
|
259
|
+
elementType: co,
|
|
260
|
+
externalForwardedProps: u,
|
|
261
|
+
ownerState: c,
|
|
262
|
+
getSlotProps: E,
|
|
263
|
+
additionalProps: {
|
|
264
|
+
"aria-labelledby": R,
|
|
265
|
+
as: y == null ? void 0 : y.component,
|
|
266
|
+
onClick: p
|
|
267
|
+
}
|
|
268
|
+
}), [J, T] = m("startDecorator", {
|
|
269
|
+
className: C.startDecorator,
|
|
270
|
+
elementType: po,
|
|
271
|
+
externalForwardedProps: u,
|
|
272
|
+
ownerState: c
|
|
273
|
+
}), [M, U] = m("endDecorator", {
|
|
274
|
+
className: C.endDecorator,
|
|
275
|
+
elementType: vo,
|
|
276
|
+
externalForwardedProps: u,
|
|
277
|
+
ownerState: c
|
|
278
|
+
}), F = l.useMemo(() => ({
|
|
279
|
+
disabled: v
|
|
280
|
+
}), [v]);
|
|
281
|
+
return /* @__PURE__ */ d.jsx(eo.Provider, {
|
|
282
|
+
value: F,
|
|
283
|
+
children: /* @__PURE__ */ d.jsx(io, {
|
|
284
|
+
variant: b,
|
|
285
|
+
color: n,
|
|
286
|
+
children: /* @__PURE__ */ d.jsxs(L, s({}, N, {
|
|
287
|
+
children: [$ && /* @__PURE__ */ d.jsx(B, s({}, O)), /* @__PURE__ */ d.jsx(S, s({}, z, {
|
|
288
|
+
id: R,
|
|
289
|
+
children: t
|
|
290
|
+
})), D && /* @__PURE__ */ d.jsx(J, s({}, T, {
|
|
291
|
+
children: D
|
|
292
|
+
})), _ && /* @__PURE__ */ d.jsx(M, s({}, U, {
|
|
293
|
+
children: _
|
|
294
|
+
}))]
|
|
295
|
+
}))
|
|
296
|
+
})
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
/**
|
|
300
|
+
* @license lucide-react v0.474.0 - ISC
|
|
301
|
+
*
|
|
302
|
+
* This source code is licensed under the ISC license.
|
|
303
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
304
|
+
*/
|
|
305
|
+
const ho = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), H = (...r) => r.filter((o, i, a) => !!o && o.trim() !== "" && a.indexOf(o) === i).join(" ").trim();
|
|
306
|
+
/**
|
|
307
|
+
* @license lucide-react v0.474.0 - ISC
|
|
308
|
+
*
|
|
309
|
+
* This source code is licensed under the ISC license.
|
|
310
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
311
|
+
*/
|
|
312
|
+
var Co = {
|
|
313
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
314
|
+
width: 24,
|
|
315
|
+
height: 24,
|
|
316
|
+
viewBox: "0 0 24 24",
|
|
317
|
+
fill: "none",
|
|
318
|
+
stroke: "currentColor",
|
|
319
|
+
strokeWidth: 2,
|
|
320
|
+
strokeLinecap: "round",
|
|
321
|
+
strokeLinejoin: "round"
|
|
322
|
+
};
|
|
323
|
+
/**
|
|
324
|
+
* @license lucide-react v0.474.0 - ISC
|
|
325
|
+
*
|
|
326
|
+
* This source code is licensed under the ISC license.
|
|
327
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
328
|
+
*/
|
|
329
|
+
const uo = l.forwardRef(
|
|
330
|
+
({
|
|
331
|
+
color: r = "currentColor",
|
|
332
|
+
size: o = 24,
|
|
333
|
+
strokeWidth: i = 2,
|
|
334
|
+
absoluteStrokeWidth: a,
|
|
335
|
+
className: t = "",
|
|
336
|
+
children: e,
|
|
337
|
+
iconNode: n,
|
|
338
|
+
...p
|
|
339
|
+
}, v) => l.createElement(
|
|
340
|
+
"svg",
|
|
341
|
+
{
|
|
342
|
+
ref: v,
|
|
343
|
+
...Co,
|
|
344
|
+
width: o,
|
|
345
|
+
height: o,
|
|
346
|
+
stroke: r,
|
|
347
|
+
strokeWidth: a ? Number(i) * 24 / Number(o) : i,
|
|
348
|
+
className: H("lucide", t),
|
|
349
|
+
...p
|
|
350
|
+
},
|
|
351
|
+
[
|
|
352
|
+
...n.map(([x, b]) => l.createElement(x, b)),
|
|
353
|
+
...Array.isArray(e) ? e : [e]
|
|
354
|
+
]
|
|
355
|
+
)
|
|
356
|
+
);
|
|
357
|
+
/**
|
|
358
|
+
* @license lucide-react v0.474.0 - ISC
|
|
359
|
+
*
|
|
360
|
+
* This source code is licensed under the ISC license.
|
|
361
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
362
|
+
*/
|
|
363
|
+
const xo = (r, o) => {
|
|
364
|
+
const i = l.forwardRef(
|
|
365
|
+
({ className: a, ...t }, e) => l.createElement(uo, {
|
|
366
|
+
ref: e,
|
|
367
|
+
iconNode: o,
|
|
368
|
+
className: H(`lucide-${ho(r)}`, a),
|
|
369
|
+
...t
|
|
370
|
+
})
|
|
371
|
+
);
|
|
372
|
+
return i.displayName = `${r}`, i;
|
|
373
|
+
};
|
|
374
|
+
export {
|
|
375
|
+
fo as C,
|
|
376
|
+
io as V,
|
|
377
|
+
eo as a,
|
|
378
|
+
xo as c,
|
|
379
|
+
ro as g,
|
|
380
|
+
bo as u
|
|
381
|
+
};
|