@luoluoyu/fluentui-plus 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1177 @@
1
+ import * as N from "react";
2
+ import Ze, { useMemo as er, useCallback as Br } from "react";
3
+ import { mergeClasses as rr } from "@fluentui/react-components";
4
+ var ve = { exports: {} }, V = {};
5
+ /**
6
+ * @license React
7
+ * react-jsx-runtime.production.min.js
8
+ *
9
+ * Copyright (c) Facebook, Inc. and its affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+ var Me;
15
+ function Yr() {
16
+ if (Me) return V;
17
+ Me = 1;
18
+ var r = Ze, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function l(d, u, m) {
20
+ var v, h = {}, b = null, E = null;
21
+ m !== void 0 && (b = "" + m), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (E = u.ref);
22
+ for (v in u) s.call(u, v) && !i.hasOwnProperty(v) && (h[v] = u[v]);
23
+ if (d && d.defaultProps) for (v in u = d.defaultProps, u) h[v] === void 0 && (h[v] = u[v]);
24
+ return { $$typeof: t, type: d, key: b, ref: E, props: h, _owner: c.current };
25
+ }
26
+ return V.Fragment = n, V.jsx = l, V.jsxs = l, V;
27
+ }
28
+ var M = {};
29
+ /**
30
+ * @license React
31
+ * react-jsx-runtime.development.js
32
+ *
33
+ * Copyright (c) Facebook, Inc. and its affiliates.
34
+ *
35
+ * This source code is licensed under the MIT license found in the
36
+ * LICENSE file in the root directory of this source tree.
37
+ */
38
+ var We;
39
+ function Kr() {
40
+ return We || (We = 1, process.env.NODE_ENV !== "production" && function() {
41
+ var r = Ze, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C = Symbol.iterator, y = "@@iterator";
42
+ function ee(e) {
43
+ if (e === null || typeof e != "object")
44
+ return null;
45
+ var o = C && e[C] || e[y];
46
+ return typeof o == "function" ? o : null;
47
+ }
48
+ var k = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
49
+ function O(e) {
50
+ {
51
+ for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
52
+ a[f - 1] = arguments[f];
53
+ lr("error", e, a);
54
+ }
55
+ }
56
+ function lr(e, o, a) {
57
+ {
58
+ var f = k.ReactDebugCurrentFrame, _ = f.getStackAddendum();
59
+ _ !== "" && (o += "%s", a = a.concat([_]));
60
+ var R = a.map(function(p) {
61
+ return String(p);
62
+ });
63
+ R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
64
+ }
65
+ }
66
+ var ur = !1, fr = !1, dr = !1, vr = !1, hr = !1, me;
67
+ me = Symbol.for("react.module.reference");
68
+ function gr(e) {
69
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === i || hr || e === c || e === m || e === v || vr || e === E || ur || fr || dr || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === h || e.$$typeof === l || e.$$typeof === d || e.$$typeof === u || // This needs to include all possible module reference object
70
+ // types supported by any Flight configuration anywhere since
71
+ // we don't know which Flight build this will end up being used
72
+ // with.
73
+ e.$$typeof === me || e.getModuleId !== void 0));
74
+ }
75
+ function pr(e, o, a) {
76
+ var f = e.displayName;
77
+ if (f)
78
+ return f;
79
+ var _ = o.displayName || o.name || "";
80
+ return _ !== "" ? a + "(" + _ + ")" : a;
81
+ }
82
+ function Ee(e) {
83
+ return e.displayName || "Context";
84
+ }
85
+ function A(e) {
86
+ if (e == null)
87
+ return null;
88
+ if (typeof e.tag == "number" && O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
89
+ return e.displayName || e.name || null;
90
+ if (typeof e == "string")
91
+ return e;
92
+ switch (e) {
93
+ case s:
94
+ return "Fragment";
95
+ case n:
96
+ return "Portal";
97
+ case i:
98
+ return "Profiler";
99
+ case c:
100
+ return "StrictMode";
101
+ case m:
102
+ return "Suspense";
103
+ case v:
104
+ return "SuspenseList";
105
+ }
106
+ if (typeof e == "object")
107
+ switch (e.$$typeof) {
108
+ case d:
109
+ var o = e;
110
+ return Ee(o) + ".Consumer";
111
+ case l:
112
+ var a = e;
113
+ return Ee(a._context) + ".Provider";
114
+ case u:
115
+ return pr(e, e.render, "ForwardRef");
116
+ case h:
117
+ var f = e.displayName || null;
118
+ return f !== null ? f : A(e.type) || "Memo";
119
+ case b: {
120
+ var _ = e, R = _._payload, p = _._init;
121
+ try {
122
+ return A(p(R));
123
+ } catch {
124
+ return null;
125
+ }
126
+ }
127
+ }
128
+ return null;
129
+ }
130
+ var j = Object.assign, U = 0, _e, be, Re, ye, Se, Ce, xe;
131
+ function Oe() {
132
+ }
133
+ Oe.__reactDisabledLog = !0;
134
+ function mr() {
135
+ {
136
+ if (U === 0) {
137
+ _e = console.log, be = console.info, Re = console.warn, ye = console.error, Se = console.group, Ce = console.groupCollapsed, xe = console.groupEnd;
138
+ var e = {
139
+ configurable: !0,
140
+ enumerable: !0,
141
+ value: Oe,
142
+ writable: !0
143
+ };
144
+ Object.defineProperties(console, {
145
+ info: e,
146
+ log: e,
147
+ warn: e,
148
+ error: e,
149
+ group: e,
150
+ groupCollapsed: e,
151
+ groupEnd: e
152
+ });
153
+ }
154
+ U++;
155
+ }
156
+ }
157
+ function Er() {
158
+ {
159
+ if (U--, U === 0) {
160
+ var e = {
161
+ configurable: !0,
162
+ enumerable: !0,
163
+ writable: !0
164
+ };
165
+ Object.defineProperties(console, {
166
+ log: j({}, e, {
167
+ value: _e
168
+ }),
169
+ info: j({}, e, {
170
+ value: be
171
+ }),
172
+ warn: j({}, e, {
173
+ value: Re
174
+ }),
175
+ error: j({}, e, {
176
+ value: ye
177
+ }),
178
+ group: j({}, e, {
179
+ value: Se
180
+ }),
181
+ groupCollapsed: j({}, e, {
182
+ value: Ce
183
+ }),
184
+ groupEnd: j({}, e, {
185
+ value: xe
186
+ })
187
+ });
188
+ }
189
+ U < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
190
+ }
191
+ }
192
+ var re = k.ReactCurrentDispatcher, te;
193
+ function H(e, o, a) {
194
+ {
195
+ if (te === void 0)
196
+ try {
197
+ throw Error();
198
+ } catch (_) {
199
+ var f = _.stack.trim().match(/\n( *(at )?)/);
200
+ te = f && f[1] || "";
201
+ }
202
+ return `
203
+ ` + te + e;
204
+ }
205
+ }
206
+ var ne = !1, G;
207
+ {
208
+ var _r = typeof WeakMap == "function" ? WeakMap : Map;
209
+ G = new _r();
210
+ }
211
+ function Te(e, o) {
212
+ if (!e || ne)
213
+ return "";
214
+ {
215
+ var a = G.get(e);
216
+ if (a !== void 0)
217
+ return a;
218
+ }
219
+ var f;
220
+ ne = !0;
221
+ var _ = Error.prepareStackTrace;
222
+ Error.prepareStackTrace = void 0;
223
+ var R;
224
+ R = re.current, re.current = null, mr();
225
+ try {
226
+ if (o) {
227
+ var p = function() {
228
+ throw Error();
229
+ };
230
+ if (Object.defineProperty(p.prototype, "props", {
231
+ set: function() {
232
+ throw Error();
233
+ }
234
+ }), typeof Reflect == "object" && Reflect.construct) {
235
+ try {
236
+ Reflect.construct(p, []);
237
+ } catch (w) {
238
+ f = w;
239
+ }
240
+ Reflect.construct(e, [], p);
241
+ } else {
242
+ try {
243
+ p.call();
244
+ } catch (w) {
245
+ f = w;
246
+ }
247
+ e.call(p.prototype);
248
+ }
249
+ } else {
250
+ try {
251
+ throw Error();
252
+ } catch (w) {
253
+ f = w;
254
+ }
255
+ e();
256
+ }
257
+ } catch (w) {
258
+ if (w && f && typeof w.stack == "string") {
259
+ for (var g = w.stack.split(`
260
+ `), T = f.stack.split(`
261
+ `), S = g.length - 1, x = T.length - 1; S >= 1 && x >= 0 && g[S] !== T[x]; )
262
+ x--;
263
+ for (; S >= 1 && x >= 0; S--, x--)
264
+ if (g[S] !== T[x]) {
265
+ if (S !== 1 || x !== 1)
266
+ do
267
+ if (S--, x--, x < 0 || g[S] !== T[x]) {
268
+ var D = `
269
+ ` + g[S].replace(" at new ", " at ");
270
+ return e.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", e.displayName)), typeof e == "function" && G.set(e, D), D;
271
+ }
272
+ while (S >= 1 && x >= 0);
273
+ break;
274
+ }
275
+ }
276
+ } finally {
277
+ ne = !1, re.current = R, Er(), Error.prepareStackTrace = _;
278
+ }
279
+ var $ = e ? e.displayName || e.name : "", I = $ ? H($) : "";
280
+ return typeof e == "function" && G.set(e, I), I;
281
+ }
282
+ function br(e, o, a) {
283
+ return Te(e, !1);
284
+ }
285
+ function Rr(e) {
286
+ var o = e.prototype;
287
+ return !!(o && o.isReactComponent);
288
+ }
289
+ function X(e, o, a) {
290
+ if (e == null)
291
+ return "";
292
+ if (typeof e == "function")
293
+ return Te(e, Rr(e));
294
+ if (typeof e == "string")
295
+ return H(e);
296
+ switch (e) {
297
+ case m:
298
+ return H("Suspense");
299
+ case v:
300
+ return H("SuspenseList");
301
+ }
302
+ if (typeof e == "object")
303
+ switch (e.$$typeof) {
304
+ case u:
305
+ return br(e.render);
306
+ case h:
307
+ return X(e.type, o, a);
308
+ case b: {
309
+ var f = e, _ = f._payload, R = f._init;
310
+ try {
311
+ return X(R(_), o, a);
312
+ } catch {
313
+ }
314
+ }
315
+ }
316
+ return "";
317
+ }
318
+ var q = Object.prototype.hasOwnProperty, we = {}, Ne = k.ReactDebugCurrentFrame;
319
+ function J(e) {
320
+ if (e) {
321
+ var o = e._owner, a = X(e.type, e._source, o ? o.type : null);
322
+ Ne.setExtraStackFrame(a);
323
+ } else
324
+ Ne.setExtraStackFrame(null);
325
+ }
326
+ function yr(e, o, a, f, _) {
327
+ {
328
+ var R = Function.call.bind(q);
329
+ for (var p in e)
330
+ if (R(e, p)) {
331
+ var g = void 0;
332
+ try {
333
+ if (typeof e[p] != "function") {
334
+ var T = Error((f || "React class") + ": " + a + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
+ throw T.name = "Invariant Violation", T;
336
+ }
337
+ g = e[p](o, p, f, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
+ } catch (S) {
339
+ g = S;
340
+ }
341
+ g && !(g instanceof Error) && (J(_), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", a, p, typeof g), J(null)), g instanceof Error && !(g.message in we) && (we[g.message] = !0, J(_), O("Failed %s type: %s", a, g.message), J(null));
342
+ }
343
+ }
344
+ }
345
+ var Sr = Array.isArray;
346
+ function se(e) {
347
+ return Sr(e);
348
+ }
349
+ function Cr(e) {
350
+ {
351
+ var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
352
+ return a;
353
+ }
354
+ }
355
+ function xr(e) {
356
+ try {
357
+ return De(e), !1;
358
+ } catch {
359
+ return !0;
360
+ }
361
+ }
362
+ function De(e) {
363
+ return "" + e;
364
+ }
365
+ function Pe(e) {
366
+ if (xr(e))
367
+ return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Cr(e)), De(e);
368
+ }
369
+ var Ae = k.ReactCurrentOwner, Or = {
370
+ key: !0,
371
+ ref: !0,
372
+ __self: !0,
373
+ __source: !0
374
+ }, je, Ie;
375
+ function Tr(e) {
376
+ if (q.call(e, "ref")) {
377
+ var o = Object.getOwnPropertyDescriptor(e, "ref").get;
378
+ if (o && o.isReactWarning)
379
+ return !1;
380
+ }
381
+ return e.ref !== void 0;
382
+ }
383
+ function wr(e) {
384
+ if (q.call(e, "key")) {
385
+ var o = Object.getOwnPropertyDescriptor(e, "key").get;
386
+ if (o && o.isReactWarning)
387
+ return !1;
388
+ }
389
+ return e.key !== void 0;
390
+ }
391
+ function Nr(e, o) {
392
+ typeof e.ref == "string" && Ae.current;
393
+ }
394
+ function Dr(e, o) {
395
+ {
396
+ var a = function() {
397
+ je || (je = !0, O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
398
+ };
399
+ a.isReactWarning = !0, Object.defineProperty(e, "key", {
400
+ get: a,
401
+ configurable: !0
402
+ });
403
+ }
404
+ }
405
+ function Pr(e, o) {
406
+ {
407
+ var a = function() {
408
+ Ie || (Ie = !0, O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
409
+ };
410
+ a.isReactWarning = !0, Object.defineProperty(e, "ref", {
411
+ get: a,
412
+ configurable: !0
413
+ });
414
+ }
415
+ }
416
+ var Ar = function(e, o, a, f, _, R, p) {
417
+ var g = {
418
+ // This tag allows us to uniquely identify this as a React Element
419
+ $$typeof: t,
420
+ // Built-in properties that belong on the element
421
+ type: e,
422
+ key: o,
423
+ ref: a,
424
+ props: p,
425
+ // Record the component responsible for creating this element.
426
+ _owner: R
427
+ };
428
+ return g._store = {}, Object.defineProperty(g._store, "validated", {
429
+ configurable: !1,
430
+ enumerable: !1,
431
+ writable: !0,
432
+ value: !1
433
+ }), Object.defineProperty(g, "_self", {
434
+ configurable: !1,
435
+ enumerable: !1,
436
+ writable: !1,
437
+ value: f
438
+ }), Object.defineProperty(g, "_source", {
439
+ configurable: !1,
440
+ enumerable: !1,
441
+ writable: !1,
442
+ value: _
443
+ }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
444
+ };
445
+ function jr(e, o, a, f, _) {
446
+ {
447
+ var R, p = {}, g = null, T = null;
448
+ a !== void 0 && (Pe(a), g = "" + a), wr(o) && (Pe(o.key), g = "" + o.key), Tr(o) && (T = o.ref, Nr(o, _));
449
+ for (R in o)
450
+ q.call(o, R) && !Or.hasOwnProperty(R) && (p[R] = o[R]);
451
+ if (e && e.defaultProps) {
452
+ var S = e.defaultProps;
453
+ for (R in S)
454
+ p[R] === void 0 && (p[R] = S[R]);
455
+ }
456
+ if (g || T) {
457
+ var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
458
+ g && Dr(p, x), T && Pr(p, x);
459
+ }
460
+ return Ar(e, g, T, _, f, Ae.current, p);
461
+ }
462
+ }
463
+ var oe = k.ReactCurrentOwner, ke = k.ReactDebugCurrentFrame;
464
+ function F(e) {
465
+ if (e) {
466
+ var o = e._owner, a = X(e.type, e._source, o ? o.type : null);
467
+ ke.setExtraStackFrame(a);
468
+ } else
469
+ ke.setExtraStackFrame(null);
470
+ }
471
+ var ie;
472
+ ie = !1;
473
+ function ae(e) {
474
+ return typeof e == "object" && e !== null && e.$$typeof === t;
475
+ }
476
+ function Fe() {
477
+ {
478
+ if (oe.current) {
479
+ var e = A(oe.current.type);
480
+ if (e)
481
+ return `
482
+
483
+ Check the render method of \`` + e + "`.";
484
+ }
485
+ return "";
486
+ }
487
+ }
488
+ function Ir(e) {
489
+ return "";
490
+ }
491
+ var $e = {};
492
+ function kr(e) {
493
+ {
494
+ var o = Fe();
495
+ if (!o) {
496
+ var a = typeof e == "string" ? e : e.displayName || e.name;
497
+ a && (o = `
498
+
499
+ Check the top-level render call using <` + a + ">.");
500
+ }
501
+ return o;
502
+ }
503
+ }
504
+ function Le(e, o) {
505
+ {
506
+ if (!e._store || e._store.validated || e.key != null)
507
+ return;
508
+ e._store.validated = !0;
509
+ var a = kr(o);
510
+ if ($e[a])
511
+ return;
512
+ $e[a] = !0;
513
+ var f = "";
514
+ e && e._owner && e._owner !== oe.current && (f = " It was passed a child from " + A(e._owner.type) + "."), F(e), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, f), F(null);
515
+ }
516
+ }
517
+ function Ue(e, o) {
518
+ {
519
+ if (typeof e != "object")
520
+ return;
521
+ if (se(e))
522
+ for (var a = 0; a < e.length; a++) {
523
+ var f = e[a];
524
+ ae(f) && Le(f, o);
525
+ }
526
+ else if (ae(e))
527
+ e._store && (e._store.validated = !0);
528
+ else if (e) {
529
+ var _ = ee(e);
530
+ if (typeof _ == "function" && _ !== e.entries)
531
+ for (var R = _.call(e), p; !(p = R.next()).done; )
532
+ ae(p.value) && Le(p.value, o);
533
+ }
534
+ }
535
+ }
536
+ function Fr(e) {
537
+ {
538
+ var o = e.type;
539
+ if (o == null || typeof o == "string")
540
+ return;
541
+ var a;
542
+ if (typeof o == "function")
543
+ a = o.propTypes;
544
+ else if (typeof o == "object" && (o.$$typeof === u || // Note: Memo only checks outer props here.
545
+ // Inner props are checked in the reconciler.
546
+ o.$$typeof === h))
547
+ a = o.propTypes;
548
+ else
549
+ return;
550
+ if (a) {
551
+ var f = A(o);
552
+ yr(a, e.props, "prop", f, e);
553
+ } else if (o.PropTypes !== void 0 && !ie) {
554
+ ie = !0;
555
+ var _ = A(o);
556
+ O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
557
+ }
558
+ typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
559
+ }
560
+ }
561
+ function $r(e) {
562
+ {
563
+ for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
564
+ var f = o[a];
565
+ if (f !== "children" && f !== "key") {
566
+ F(e), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), F(null);
567
+ break;
568
+ }
569
+ }
570
+ e.ref !== null && (F(e), O("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
571
+ }
572
+ }
573
+ var qe = {};
574
+ function Ve(e, o, a, f, _, R) {
575
+ {
576
+ var p = gr(e);
577
+ if (!p) {
578
+ var g = "";
579
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
580
+ var T = Ir();
581
+ T ? g += T : g += Fe();
582
+ var S;
583
+ e === null ? S = "null" : se(e) ? S = "array" : e !== void 0 && e.$$typeof === t ? (S = "<" + (A(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, g);
584
+ }
585
+ var x = jr(e, o, a, _, R);
586
+ if (x == null)
587
+ return x;
588
+ if (p) {
589
+ var D = o.children;
590
+ if (D !== void 0)
591
+ if (f)
592
+ if (se(D)) {
593
+ for (var $ = 0; $ < D.length; $++)
594
+ Ue(D[$], e);
595
+ Object.freeze && Object.freeze(D);
596
+ } else
597
+ O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
598
+ else
599
+ Ue(D, e);
600
+ }
601
+ if (q.call(o, "key")) {
602
+ var I = A(e), w = Object.keys(o).filter(function(Wr) {
603
+ return Wr !== "key";
604
+ }), ce = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
605
+ if (!qe[I + ce]) {
606
+ var Mr = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
607
+ O(`A props object containing a "key" prop is being spread into JSX:
608
+ let props = %s;
609
+ <%s {...props} />
610
+ React keys must be passed directly to JSX without using spread:
611
+ let props = %s;
612
+ <%s key={someKey} {...props} />`, ce, I, Mr, I), qe[I + ce] = !0;
613
+ }
614
+ }
615
+ return e === s ? $r(x) : Fr(x), x;
616
+ }
617
+ }
618
+ function Lr(e, o, a) {
619
+ return Ve(e, o, a, !0);
620
+ }
621
+ function Ur(e, o, a) {
622
+ return Ve(e, o, a, !1);
623
+ }
624
+ var qr = Ur, Vr = Lr;
625
+ M.Fragment = s, M.jsx = qr, M.jsxs = Vr;
626
+ }()), M;
627
+ }
628
+ process.env.NODE_ENV === "production" ? ve.exports = Yr() : ve.exports = Kr();
629
+ var B = ve.exports;
630
+ const he = N.createContext(void 0), zr = {};
631
+ he.Provider;
632
+ const Hr = () => N.useContext(he) ? N.useContext(he) : zr, le = typeof window > "u" ? global : window, ue = "@griffel/";
633
+ function tr(r, t) {
634
+ return le[Symbol.for(ue + r)] || (le[Symbol.for(ue + r)] = t), le[Symbol.for(ue + r)];
635
+ }
636
+ const ge = /* @__PURE__ */ tr("DEBUG_RESET_CLASSES", {}), z = /* @__PURE__ */ tr("DEFINITION_LOOKUP_TABLE", {}), Y = "data-make-styles-bucket", Gr = "data-priority", Xr = "r", K = 7, P = "___", nr = "_", sr = process.env.NODE_ENV === "production" ? P.length + K : P.length + K + nr.length + K, Jr = 0, Be = 1;
637
+ function fe(r) {
638
+ for (var t = 0, n, s = 0, c = r.length; c >= 4; ++s, c -= 4)
639
+ n = r.charCodeAt(s) & 255 | (r.charCodeAt(++s) & 255) << 8 | (r.charCodeAt(++s) & 255) << 16 | (r.charCodeAt(++s) & 255) << 24, n = /* Math.imul(k, m): */
640
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
641
+ n >>> 24, t = /* Math.imul(k, m): */
642
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
643
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
644
+ switch (c) {
645
+ case 3:
646
+ t ^= (r.charCodeAt(s + 2) & 255) << 16;
647
+ case 2:
648
+ t ^= (r.charCodeAt(s + 1) & 255) << 8;
649
+ case 1:
650
+ t ^= r.charCodeAt(s) & 255, t = /* Math.imul(h, m): */
651
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
652
+ }
653
+ return t ^= t >>> 13, t = /* Math.imul(h, m): */
654
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
655
+ }
656
+ function de(r) {
657
+ const t = r.length;
658
+ if (t === K)
659
+ return r;
660
+ for (let n = t; n < K; n++)
661
+ r += "0";
662
+ return r;
663
+ }
664
+ function or(r, t, n = []) {
665
+ return process.env.NODE_ENV === "production" ? P + de(fe(r + t)) : P + de(fe(r + t)) + nr + de(fe(n.join("")));
666
+ }
667
+ function ir(r, t) {
668
+ let n = "", s = "";
669
+ for (const c in r) {
670
+ const i = r[c];
671
+ if (i === 0) {
672
+ s += c + " ";
673
+ continue;
674
+ }
675
+ const l = Array.isArray(i), d = t === "rtl" ? (l ? i[1] : i) + " " : (l ? i[0] : i) + " ";
676
+ n += d, s += d;
677
+ }
678
+ return [n.slice(0, -1), s.slice(0, -1)];
679
+ }
680
+ function Ye(r, t) {
681
+ const n = {};
682
+ for (const s in r) {
683
+ const [c, i] = ir(r[s], t);
684
+ if (i === "") {
685
+ n[s] = "";
686
+ continue;
687
+ }
688
+ const l = or(i, t), d = l + (c === "" ? "" : " " + c);
689
+ z[l] = [r[s], t], n[s] = d;
690
+ }
691
+ return n;
692
+ }
693
+ const Q = {};
694
+ function Qr() {
695
+ let r = null, t = "", n = "";
696
+ const s = new Array(arguments.length);
697
+ let c = "";
698
+ for (let b = 0; b < arguments.length; b++) {
699
+ const E = arguments[b];
700
+ if (typeof E == "string" && E !== "") {
701
+ const C = E.indexOf(P);
702
+ if (C === -1)
703
+ process.env.NODE_ENV !== "production" && E.split(" ").forEach((y) => {
704
+ y.startsWith(Xr) && ge[y] && (c ? console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${E} & ${t}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
705
+ Source string: ${E}`) : c = y);
706
+ }), t += E + " ";
707
+ else {
708
+ const y = E.substr(C, sr);
709
+ C > 0 && (t += E.slice(0, C)), n += y, s[b] = y;
710
+ }
711
+ process.env.NODE_ENV !== "production" && E.indexOf(P, C + 1) !== -1 && console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${P}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${E}`);
712
+ }
713
+ }
714
+ if (n === "")
715
+ return t.slice(0, -1);
716
+ const i = Q[n];
717
+ if (i !== void 0)
718
+ return t + i;
719
+ const l = [];
720
+ for (let b = 0; b < arguments.length; b++) {
721
+ const E = s[b];
722
+ if (E) {
723
+ const C = z[E];
724
+ C ? (l.push(C[Jr]), process.env.NODE_ENV !== "production" && r !== null && r !== C[Be] && console.error(`mergeClasses(): a passed string contains an identifier (${E}) that has different direction (dir="${C[1] ? "rtl" : "ltr"}") setting than other classes. This is not supported. Source string: ${arguments[b]}`), r = C[Be]) : process.env.NODE_ENV !== "production" && console.error(`mergeClasses(): a passed string contains an identifier (${E}) that does not match any entry in cache. Source string: ${arguments[b]}`);
725
+ }
726
+ }
727
+ const d = Object.assign.apply(
728
+ Object,
729
+ // .assign() mutates the first object, we can't mutate mappings as it will produce invalid results later
730
+ [{}].concat(l)
731
+ ), [u, m] = ir(d, r), v = or(m, r, s), h = v + " " + u;
732
+ return Q[n] = h, z[v] = [d, r], t + h;
733
+ }
734
+ const Ke = {}, ze = /* @__PURE__ */ new Set(), L = {
735
+ getChildrenSequences: (r) => {
736
+ const t = Object.keys(Q).find((n) => Q[n].startsWith(r));
737
+ return t ? t.split(P).filter((n) => n.length).map((n) => P + n) : [];
738
+ },
739
+ addCSSRule: (r) => {
740
+ ze.add(r);
741
+ },
742
+ addSequenceDetails: (r, t) => {
743
+ Object.entries(r).forEach(([n, s]) => {
744
+ Ke[s.substring(0, sr)] = {
745
+ slotName: n,
746
+ sourceURL: t
747
+ };
748
+ });
749
+ },
750
+ getCSSRules: () => Array.from(ze),
751
+ getSequenceDetails: (r) => Ke[r]
752
+ };
753
+ function He(r, t) {
754
+ return Array.isArray(r) ? t === "rtl" ? r[1] : r[0] : r || "";
755
+ }
756
+ function Zr(r, t, n, s) {
757
+ const c = r[0], i = r[1];
758
+ return Object.entries(c).map(([l, d]) => {
759
+ const u = He(d, i);
760
+ let m;
761
+ if (n && t) {
762
+ const v = n.find(({
763
+ className: h
764
+ }) => h === u);
765
+ !v && t[0][l] ? m = He(t[0][l], t[1]) : v && t[0][l] ? m = (s ? s.filter(({
766
+ debugClassNames: b
767
+ }) => b.filter(({
768
+ className: E
769
+ }) => E === u).length > 0).length > 0 : !1) ? v.className : v.overriddenBy : (!v && !t[0][l] || v && !t[0][l]) && (m = void 0);
770
+ }
771
+ return {
772
+ className: u,
773
+ overriddenBy: m
774
+ };
775
+ });
776
+ }
777
+ function ar(r, t) {
778
+ const n = z[r];
779
+ if (n === void 0)
780
+ return;
781
+ const s = t ? z[t.sequenceHash] : void 0, c = Zr(n, s, t == null ? void 0 : t.debugClassNames, t == null ? void 0 : t.children), i = {
782
+ sequenceHash: r,
783
+ direction: n[1],
784
+ children: [],
785
+ debugClassNames: c
786
+ };
787
+ return L.getChildrenSequences(i.sequenceHash).reverse().forEach((d) => {
788
+ const u = ar(d, i);
789
+ u && i.children.push(u);
790
+ }), i.children.length || (i.rules = {}, i.debugClassNames.forEach(({
791
+ className: d
792
+ }) => {
793
+ const u = L.getSequenceDetails(r);
794
+ u && (i.slot = u.slotName, i.sourceURL = u.sourceURL);
795
+ const m = L.getCSSRules().find((v) => v.includes(d));
796
+ i.rules[d] = m;
797
+ })), i;
798
+ }
799
+ function et(r) {
800
+ if (ge[r] === void 0)
801
+ return;
802
+ const s = {
803
+ sequenceHash: r,
804
+ direction: "ltr",
805
+ children: [],
806
+ debugClassNames: [{
807
+ className: r
808
+ }]
809
+ };
810
+ s.rules = {}, s.slot = "makeResetStyles()";
811
+ const [{
812
+ className: c
813
+ }] = s.debugClassNames, i = L.getCSSRules().filter((l) => l.includes(`.${c}`));
814
+ return s.rules[c] = i.join(""), s;
815
+ }
816
+ function rt(r, t) {
817
+ const n = r ? ar(r) : void 0, s = t ? et(t) : void 0;
818
+ return !n && !s ? void 0 : n ? s ? {
819
+ sequenceHash: n.sequenceHash + s.sequenceHash,
820
+ direction: n.direction,
821
+ children: [n, s],
822
+ debugClassNames: [...n.debugClassNames, ...s.debugClassNames]
823
+ } : n : s;
824
+ }
825
+ function tt(r) {
826
+ const t = r.defaultView;
827
+ if (!t || t.__GRIFFEL_DEVTOOLS__)
828
+ return;
829
+ const n = {
830
+ getInfo: (s) => {
831
+ let c, i;
832
+ for (const l of s.classList)
833
+ l.startsWith(P) && (c = l), ge[l] && (i = l);
834
+ return rt(c, i);
835
+ }
836
+ };
837
+ Object.defineProperty(t, "__GRIFFEL_DEVTOOLS__", {
838
+ configurable: !1,
839
+ enumerable: !1,
840
+ get() {
841
+ return n;
842
+ }
843
+ });
844
+ }
845
+ const Z = /* @__PURE__ */ (() => {
846
+ var r;
847
+ try {
848
+ return !!(typeof window < "u" && (!((r = window.sessionStorage) === null || r === void 0) && r.getItem("__GRIFFEL_DEVTOOLS__")));
849
+ } catch {
850
+ return !1;
851
+ }
852
+ })();
853
+ function nt(r) {
854
+ if (!Array.isArray(r))
855
+ return [r];
856
+ if (process.env.NODE_ENV !== "production" && r.length > 2)
857
+ throw new Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");
858
+ return r;
859
+ }
860
+ function st(r, t, n, s) {
861
+ const c = [];
862
+ if (s[Y] = t, s[Gr] = String(n), r)
863
+ for (const l in s)
864
+ r.setAttribute(l, s[l]);
865
+ function i(l) {
866
+ return r != null && r.sheet ? r.sheet.insertRule(l, r.sheet.cssRules.length) : c.push(l);
867
+ }
868
+ return {
869
+ elementAttributes: s,
870
+ insertRule: i,
871
+ element: r,
872
+ bucketName: t,
873
+ cssRules() {
874
+ return r != null && r.sheet ? Array.from(r.sheet.cssRules).map((l) => l.cssText) : c;
875
+ }
876
+ };
877
+ }
878
+ const ot = [
879
+ // reset styles
880
+ "r",
881
+ // catch-all
882
+ "d",
883
+ // link
884
+ "l",
885
+ // visited
886
+ "v",
887
+ // focus-within
888
+ "w",
889
+ // focus
890
+ "f",
891
+ // focus-visible
892
+ "i",
893
+ // hover
894
+ "h",
895
+ // active
896
+ "a",
897
+ // at rules for reset styles
898
+ "s",
899
+ // keyframes
900
+ "k",
901
+ // at-rules
902
+ "t",
903
+ // @media rules
904
+ "m",
905
+ // @container rules
906
+ "c"
907
+ ], Ge = /* @__PURE__ */ ot.reduce((r, t, n) => (r[t] = n, r), {});
908
+ function it(r, t, n) {
909
+ return (r === "m" ? r + t : r) + n;
910
+ }
911
+ function at(r, t, n, s, c = {}) {
912
+ var i, l;
913
+ const d = r === "m", u = (i = c.m) !== null && i !== void 0 ? i : "0", m = (l = c.p) !== null && l !== void 0 ? l : 0, v = it(r, u, m);
914
+ if (!s.stylesheets[v]) {
915
+ const h = t && t.createElement("style"), b = st(h, r, m, Object.assign({}, s.styleElementAttributes, d && {
916
+ media: u
917
+ }));
918
+ s.stylesheets[v] = b, t != null && t.head && h && t.head.insertBefore(h, lt(t, n, r, s, c));
919
+ }
920
+ return s.stylesheets[v];
921
+ }
922
+ function ct(r, t, n) {
923
+ var s, c;
924
+ const i = t + ((s = n.m) !== null && s !== void 0 ? s : ""), l = r.getAttribute(Y) + ((c = r.media) !== null && c !== void 0 ? c : "");
925
+ return i === l;
926
+ }
927
+ function lt(r, t, n, s, c = {}) {
928
+ var i, l;
929
+ const d = Ge[n], u = (i = c.m) !== null && i !== void 0 ? i : "", m = (l = c.p) !== null && l !== void 0 ? l : 0;
930
+ let v = (y) => d - Ge[y.getAttribute(Y)], h = r.head.querySelectorAll(`[${Y}]`);
931
+ if (n === "m") {
932
+ const y = r.head.querySelectorAll(`[${Y}="${n}"]`);
933
+ y.length && (h = y, v = (ee) => s.compareMediaQueries(u, ee.media));
934
+ }
935
+ const b = (y) => ct(y, n, c) ? m - Number(y.getAttribute("data-priority")) : v(y), E = h.length;
936
+ let C = E - 1;
937
+ for (; C >= 0; ) {
938
+ const y = h.item(C);
939
+ if (b(y) > 0)
940
+ return y.nextSibling;
941
+ C--;
942
+ }
943
+ return E > 0 ? h.item(0) : t ? t.nextSibling : null;
944
+ }
945
+ const ut = /* @__PURE__ */ ["-moz-placeholder", "-moz-focus-inner", "-moz-focusring", "-ms-input-placeholder", "-moz-read-write", "-moz-read-only"].join("|"), ft = /* @__PURE__ */ new RegExp(`:(${ut})`);
946
+ function Xe(r, t) {
947
+ try {
948
+ r.insertRule(t);
949
+ } catch (n) {
950
+ process.env.NODE_ENV !== "production" && !ft.test(t) && console.error(`There was a problem inserting the following rule: "${t}"`, n);
951
+ }
952
+ }
953
+ let dt = 0;
954
+ const vt = (r, t) => r < t ? -1 : r > t ? 1 : 0;
955
+ function ht(r = typeof document > "u" ? void 0 : document, t = {}) {
956
+ const {
957
+ classNameHashSalt: n,
958
+ unstable_filterCSSRule: s,
959
+ insertionPoint: c,
960
+ styleElementAttributes: i,
961
+ compareMediaQueries: l = vt
962
+ } = t, d = {
963
+ classNameHashSalt: n,
964
+ insertionCache: {},
965
+ stylesheets: {},
966
+ styleElementAttributes: Object.freeze(i),
967
+ compareMediaQueries: l,
968
+ id: `d${dt++}`,
969
+ insertCSSRules(u) {
970
+ for (const m in u) {
971
+ const v = u[m];
972
+ for (let h = 0, b = v.length; h < b; h++) {
973
+ const [E, C] = nt(v[h]), y = at(m, r, c || null, d, C);
974
+ d.insertionCache[E] || (d.insertionCache[E] = m, process.env.NODE_ENV !== "production" && Z && L.addCSSRule(E), s ? s(E) && Xe(y, E) : Xe(y, E));
975
+ }
976
+ }
977
+ }
978
+ };
979
+ return r && process.env.NODE_ENV !== "production" && Z && tt(r), d;
980
+ }
981
+ const pe = "<unknown>";
982
+ function gt(r) {
983
+ return _t(r) || yt(r) || Ct(r);
984
+ }
985
+ const pt = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i, mt = /^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i, Et = /\((\S*)\)/;
986
+ function _t(r) {
987
+ const t = pt.exec(r) || mt.exec(r);
988
+ if (!t)
989
+ return null;
990
+ let n = t[2];
991
+ const s = n && n.indexOf("native") === 0, c = n && n.indexOf("eval") === 0, i = Et.exec(n);
992
+ return c && i != null && (n = i[1]), {
993
+ loc: s ? null : t[2],
994
+ name: t[1] || pe
995
+ };
996
+ }
997
+ const bt = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i, Rt = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
998
+ function yt(r) {
999
+ const t = bt.exec(r);
1000
+ if (!t)
1001
+ return null;
1002
+ let n = t[3];
1003
+ const s = n && n.indexOf(" > eval") > -1, c = Rt.exec(n);
1004
+ return s && c != null && (n = c[1]), {
1005
+ loc: t[3],
1006
+ name: t[1] || pe
1007
+ };
1008
+ }
1009
+ const St = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;
1010
+ function Ct(r) {
1011
+ const t = St.exec(r);
1012
+ return t ? {
1013
+ loc: t[3],
1014
+ name: t[1] || pe
1015
+ } : null;
1016
+ }
1017
+ function xt() {
1018
+ const r = String(new Error().stack).split(`
1019
+ `), t = Ot(r);
1020
+ if (t === void 0)
1021
+ return;
1022
+ const n = gt(t);
1023
+ return n == null ? void 0 : n.loc;
1024
+ }
1025
+ function Ot(r) {
1026
+ for (let t = r.length - 1; t >= 0; --t)
1027
+ if (r[t].includes("at getSourceURLfromError"))
1028
+ return r[t + 3];
1029
+ }
1030
+ const Tt = () => {
1031
+ const r = {};
1032
+ return function(n, s) {
1033
+ r[n.id] === void 0 && (n.insertCSSRules(s), r[n.id] = !0);
1034
+ };
1035
+ };
1036
+ function wt(r, t, n = Tt) {
1037
+ const s = n();
1038
+ let c = null, i = null, l;
1039
+ process.env.NODE_ENV !== "production" && Z && (l = xt());
1040
+ function d(u) {
1041
+ const {
1042
+ dir: m,
1043
+ renderer: v
1044
+ } = u, h = m === "ltr";
1045
+ h ? c === null && (c = Ye(r, m)) : i === null && (i = Ye(r, m)), s(v, t);
1046
+ const b = h ? c : i;
1047
+ return process.env.NODE_ENV !== "production" && Z && L.addSequenceDetails(b, l), b;
1048
+ }
1049
+ return d;
1050
+ }
1051
+ function Nt() {
1052
+ return typeof window < "u" && !!(window.document && window.document.createElement);
1053
+ }
1054
+ const Je = (
1055
+ // @ts-expect-error Hack to make sure that `useInsertionEffect` will not cause bundling issues in older React versions
1056
+ // eslint-disable-next-line no-useless-concat
1057
+ N.useInsertionEffect ? N.useInsertionEffect : void 0
1058
+ ), Dt = () => {
1059
+ const r = {};
1060
+ return function(n, s) {
1061
+ if (Je && Nt()) {
1062
+ Je(() => {
1063
+ n.insertCSSRules(s);
1064
+ }, [n, s]);
1065
+ return;
1066
+ }
1067
+ r[n.id] === void 0 && (n.insertCSSRules(s), r[n.id] = !0);
1068
+ };
1069
+ }, Pt = /* @__PURE__ */ N.createContext(/* @__PURE__ */ ht());
1070
+ function At() {
1071
+ return N.useContext(Pt);
1072
+ }
1073
+ const jt = /* @__PURE__ */ N.createContext("ltr");
1074
+ function It() {
1075
+ return N.useContext(jt);
1076
+ }
1077
+ function kt(r, t) {
1078
+ const n = wt(r, t, Dt);
1079
+ return function() {
1080
+ const c = It(), i = At();
1081
+ return n({
1082
+ dir: c,
1083
+ renderer: i
1084
+ });
1085
+ };
1086
+ }
1087
+ const Ft = kt({
1088
+ root: {
1089
+ mc9l5x: "f1w7gpdv",
1090
+ Bg96gwp: "fez10in",
1091
+ ycbfsm: "fg4l7m0"
1092
+ },
1093
+ rtl: {
1094
+ Bz10aip: "f13rod7r"
1095
+ }
1096
+ }, {
1097
+ d: [".f1w7gpdv{display:inline;}", ".fez10in{line-height:0;}", ".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],
1098
+ t: ["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]
1099
+ }), $t = (r, t) => {
1100
+ const {
1101
+ title: n,
1102
+ primaryFill: s = "currentColor",
1103
+ ...c
1104
+ } = r, i = {
1105
+ ...c,
1106
+ title: void 0,
1107
+ fill: s
1108
+ }, l = Ft(), d = Hr();
1109
+ return i.className = Qr(l.root, (t == null ? void 0 : t.flipInRtl) && (d == null ? void 0 : d.textDirection) === "rtl" && l.rtl, i.className), n && (i["aria-label"] = n), !i["aria-label"] && !i["aria-labelledby"] ? i["aria-hidden"] = !0 : i.role = "img", i;
1110
+ }, Lt = (r, t, n, s) => {
1111
+ const c = "20", i = N.forwardRef((l, d) => {
1112
+ const u = {
1113
+ ...$t(l, {
1114
+ flipInRtl: s == null ? void 0 : s.flipInRtl
1115
+ }),
1116
+ ref: d,
1117
+ width: t,
1118
+ height: t,
1119
+ viewBox: `0 0 ${c} ${c}`,
1120
+ xmlns: "http://www.w3.org/2000/svg"
1121
+ };
1122
+ return typeof n == "string" ? N.createElement("svg", {
1123
+ ...u,
1124
+ dangerouslySetInnerHTML: {
1125
+ __html: n
1126
+ }
1127
+ }) : N.createElement("svg", u, ...n.map((m) => N.createElement("path", {
1128
+ d: m,
1129
+ fill: u.fill
1130
+ })));
1131
+ });
1132
+ return i.displayName = r, i;
1133
+ }, Ut = /* @__PURE__ */ Lt("DismissFilled", "1em", ["m3.9 4.05.07-.08a.75.75 0 0 1 .98-.07l.08.07L10 8.94l4.97-4.97a.75.75 0 0 1 .98-.07l.08.07c.27.27.3.68.07.98l-.07.08L11.06 10l4.97 4.97c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L10 11.06l-4.97 4.97a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L8.94 10 3.97 5.03a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]), Qe = "mm-checkable-tag", qt = ({ checked: r, onChange: t, children: n, className: s, ...c }) => {
1134
+ const i = er(
1135
+ () => rr(Qe, r && `${Qe}--checked`, s),
1136
+ [r, s]
1137
+ );
1138
+ return /* @__PURE__ */ B.jsx(cr, { ...c, className: i, onClick: () => t == null ? void 0 : t(!r), children: n });
1139
+ }, W = "mm-tag", Vt = ({ children: r, ...t }) => {
1140
+ const { closeIcon: n = !1, color: s, bordered: c = !0, className: i, style: l, onClick: d, onClose: u } = t, m = er(
1141
+ () => rr(W, c ? `${W}--bordered` : `${W}--borderless`, i),
1142
+ [c, i]
1143
+ ), v = Br(() => n ? /* @__PURE__ */ B.jsx(
1144
+ "span",
1145
+ {
1146
+ className: `${W}__close`,
1147
+ onClick: (h) => {
1148
+ h.stopPropagation(), u == null || u(h);
1149
+ },
1150
+ children: typeof n == "boolean" ? /* @__PURE__ */ B.jsx(Ut, {}) : n
1151
+ }
1152
+ ) : null, [n, u]);
1153
+ return /* @__PURE__ */ B.jsxs(
1154
+ "span",
1155
+ {
1156
+ className: m,
1157
+ style: {
1158
+ ...l,
1159
+ backgroundColor: s ?? (l == null ? void 0 : l.backgroundColor),
1160
+ color: s ? "#fff" : "",
1161
+ border: c ? "" : "none"
1162
+ },
1163
+ onClick: (h) => {
1164
+ h.stopPropagation(), d == null || d(h);
1165
+ },
1166
+ children: [
1167
+ /* @__PURE__ */ B.jsx("span", { className: `${W}__content`, children: r }),
1168
+ v()
1169
+ ]
1170
+ }
1171
+ );
1172
+ }, cr = Vt;
1173
+ cr.CheckableTag = qt;
1174
+ export {
1175
+ cr as Tag
1176
+ };
1177
+ //# sourceMappingURL=index.esm.js.map