@hudoro/badges
Advanced tools
Comparing version 0.1.1-beta.18 to 0.1.1-beta.19
@@ -1,8 +0,8 @@ | ||
import J from "react"; | ||
var q = { exports: {} }, _ = {}; | ||
import U from "react"; | ||
var Z = { exports: {} }, I = {}; | ||
/** | ||
* @license React | ||
* react-jsx-runtime.production.js | ||
* react-jsx-runtime.production.min.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
@@ -12,25 +12,17 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
var fr; | ||
function Sr() { | ||
if (fr) return _; | ||
fr = 1; | ||
var d = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment"); | ||
function b(g, u, c) { | ||
var f = null; | ||
if (c !== void 0 && (f = "" + c), u.key !== void 0 && (f = "" + u.key), "key" in u) { | ||
c = {}; | ||
for (var k in u) | ||
k !== "key" && (c[k] = u[k]); | ||
} else c = u; | ||
return u = c.ref, { | ||
$$typeof: d, | ||
type: g, | ||
key: f, | ||
ref: u !== void 0 ? u : null, | ||
props: c | ||
}; | ||
var kr; | ||
function ce() { | ||
if (kr) return I; | ||
kr = 1; | ||
var g = U, b = Symbol.for("react.element"), R = Symbol.for("react.fragment"), y = Object.prototype.hasOwnProperty, h = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, O = { key: !0, ref: !0, __self: !0, __source: !0 }; | ||
function x(w, l, C) { | ||
var p, E = {}, k = null, Y = null; | ||
C !== void 0 && (k = "" + C), l.key !== void 0 && (k = "" + l.key), l.ref !== void 0 && (Y = l.ref); | ||
for (p in l) y.call(l, p) && !O.hasOwnProperty(p) && (E[p] = l[p]); | ||
if (w && w.defaultProps) for (p in l = w.defaultProps, l) E[p] === void 0 && (E[p] = l[p]); | ||
return { $$typeof: b, type: w, key: k, ref: Y, props: E, _owner: h.current }; | ||
} | ||
return _.Fragment = l, _.jsx = b, _.jsxs = b, _; | ||
return I.Fragment = R, I.jsx = x, I.jsxs = x, I; | ||
} | ||
var S = {}; | ||
var $ = {}; | ||
/** | ||
@@ -40,3 +32,3 @@ * @license React | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
@@ -46,207 +38,237 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
var br; | ||
function Rr() { | ||
return br || (br = 1, process.env.NODE_ENV !== "production" && function() { | ||
function d(r) { | ||
if (r == null) return null; | ||
if (typeof r == "function") | ||
return r.$$typeof === wr ? null : r.displayName || r.name || null; | ||
if (typeof r == "string") return r; | ||
var Sr; | ||
function fe() { | ||
return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && function() { | ||
var g = U, b = Symbol.for("react.element"), R = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), w = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), Q = Symbol.iterator, Or = "@@iterator"; | ||
function Cr(r) { | ||
if (r === null || typeof r != "object") | ||
return null; | ||
var e = Q && r[Q] || r[Or]; | ||
return typeof e == "function" ? e : null; | ||
} | ||
var P = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
function c(r) { | ||
{ | ||
for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), o = 1; o < e; o++) | ||
n[o - 1] = arguments[o]; | ||
Pr("error", r, n); | ||
} | ||
} | ||
function Pr(r, e, n) { | ||
{ | ||
var o = P.ReactDebugCurrentFrame, t = o.getStackAddendum(); | ||
t !== "" && (e += "%s", n = n.concat([t])); | ||
var i = n.map(function(s) { | ||
return String(s); | ||
}); | ||
i.unshift("Warning: " + e), Function.prototype.apply.call(console[r], console, i); | ||
} | ||
} | ||
var jr = !1, Dr = !1, Ar = !1, Fr = !1, Ir = !1, rr; | ||
rr = Symbol.for("react.module.reference"); | ||
function $r(r) { | ||
return !!(typeof r == "string" || typeof r == "function" || r === y || r === O || Ir || r === h || r === C || r === p || Fr || r === Y || jr || Dr || Ar || typeof r == "object" && r !== null && (r.$$typeof === k || r.$$typeof === E || r.$$typeof === x || r.$$typeof === w || r.$$typeof === l || // This needs to include all possible module reference object | ||
// types supported by any Flight configuration anywhere since | ||
// we don't know which Flight build this will end up being used | ||
// with. | ||
r.$$typeof === rr || r.getModuleId !== void 0)); | ||
} | ||
function Yr(r, e, n) { | ||
var o = r.displayName; | ||
if (o) | ||
return o; | ||
var t = e.displayName || e.name || ""; | ||
return t !== "" ? n + "(" + t + ")" : n; | ||
} | ||
function er(r) { | ||
return r.displayName || "Context"; | ||
} | ||
function _(r) { | ||
if (r == null) | ||
return null; | ||
if (typeof r.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function") | ||
return r.displayName || r.name || null; | ||
if (typeof r == "string") | ||
return r; | ||
switch (r) { | ||
case P: | ||
case y: | ||
return "Fragment"; | ||
case kr: | ||
case R: | ||
return "Portal"; | ||
case L: | ||
case O: | ||
return "Profiler"; | ||
case I: | ||
case h: | ||
return "StrictMode"; | ||
case $: | ||
case C: | ||
return "Suspense"; | ||
case M: | ||
case p: | ||
return "SuspenseList"; | ||
} | ||
if (typeof r == "object") | ||
switch (typeof r.tag == "number" && console.error( | ||
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue." | ||
), r.$$typeof) { | ||
case Q: | ||
return (r.displayName || "Context") + ".Provider"; | ||
case Z: | ||
return (r._context.displayName || "Context") + ".Consumer"; | ||
case Y: | ||
var e = r.render; | ||
return r = r.displayName, r || (r = e.displayName || e.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r; | ||
case W: | ||
return e = r.displayName || null, e !== null ? e : d(r.type) || "Memo"; | ||
case z: | ||
e = r._payload, r = r._init; | ||
switch (r.$$typeof) { | ||
case w: | ||
var e = r; | ||
return er(e) + ".Consumer"; | ||
case x: | ||
var n = r; | ||
return er(n._context) + ".Provider"; | ||
case l: | ||
return Yr(r, r.render, "ForwardRef"); | ||
case E: | ||
var o = r.displayName || null; | ||
return o !== null ? o : _(r.type) || "Memo"; | ||
case k: { | ||
var t = r, i = t._payload, s = t._init; | ||
try { | ||
return d(r(e)); | ||
return _(s(i)); | ||
} catch { | ||
return null; | ||
} | ||
} | ||
} | ||
return null; | ||
} | ||
function l(r) { | ||
return "" + r; | ||
var S = Object.assign, A = 0, nr, or, ar, sr, tr, ir, ur; | ||
function dr() { | ||
} | ||
function b(r) { | ||
try { | ||
l(r); | ||
var e = !1; | ||
} catch { | ||
e = !0; | ||
dr.__reactDisabledLog = !0; | ||
function Wr() { | ||
{ | ||
if (A === 0) { | ||
nr = console.log, or = console.info, ar = console.warn, sr = console.error, tr = console.group, ir = console.groupCollapsed, ur = console.groupEnd; | ||
var r = { | ||
configurable: !0, | ||
enumerable: !0, | ||
value: dr, | ||
writable: !0 | ||
}; | ||
Object.defineProperties(console, { | ||
info: r, | ||
log: r, | ||
warn: r, | ||
error: r, | ||
group: r, | ||
groupCollapsed: r, | ||
groupEnd: r | ||
}); | ||
} | ||
A++; | ||
} | ||
if (e) { | ||
e = console; | ||
var o = e.error, a = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object"; | ||
return o.call( | ||
e, | ||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", | ||
a | ||
), l(r); | ||
} | ||
} | ||
function g() { | ||
} | ||
function u() { | ||
if (w === 0) { | ||
rr = console.log, er = console.info, or = console.warn, nr = console.error, ar = console.group, sr = console.groupCollapsed, dr = console.groupEnd; | ||
var r = { | ||
configurable: !0, | ||
enumerable: !0, | ||
value: g, | ||
writable: !0 | ||
}; | ||
Object.defineProperties(console, { | ||
info: r, | ||
log: r, | ||
warn: r, | ||
error: r, | ||
group: r, | ||
groupCollapsed: r, | ||
groupEnd: r | ||
}); | ||
function Lr() { | ||
{ | ||
if (A--, A === 0) { | ||
var r = { | ||
configurable: !0, | ||
enumerable: !0, | ||
writable: !0 | ||
}; | ||
Object.defineProperties(console, { | ||
log: S({}, r, { | ||
value: nr | ||
}), | ||
info: S({}, r, { | ||
value: or | ||
}), | ||
warn: S({}, r, { | ||
value: ar | ||
}), | ||
error: S({}, r, { | ||
value: sr | ||
}), | ||
group: S({}, r, { | ||
value: tr | ||
}), | ||
groupCollapsed: S({}, r, { | ||
value: ir | ||
}), | ||
groupEnd: S({}, r, { | ||
value: ur | ||
}) | ||
}); | ||
} | ||
A < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue."); | ||
} | ||
w++; | ||
} | ||
function c() { | ||
if (w--, w === 0) { | ||
var r = { configurable: !0, enumerable: !0, writable: !0 }; | ||
Object.defineProperties(console, { | ||
log: p({}, r, { value: rr }), | ||
info: p({}, r, { value: er }), | ||
warn: p({}, r, { value: or }), | ||
error: p({}, r, { value: nr }), | ||
group: p({}, r, { value: ar }), | ||
groupCollapsed: p({}, r, { value: sr }), | ||
groupEnd: p({}, r, { value: dr }) | ||
}); | ||
var B = P.ReactCurrentDispatcher, z; | ||
function W(r, e, n) { | ||
{ | ||
if (z === void 0) | ||
try { | ||
throw Error(); | ||
} catch (t) { | ||
var o = t.stack.trim().match(/\n( *(at )?)/); | ||
z = o && o[1] || ""; | ||
} | ||
return ` | ||
` + z + r; | ||
} | ||
0 > w && console.error( | ||
"disabledDepth fell below zero. This is a bug in React. Please file an issue." | ||
); | ||
} | ||
function f(r) { | ||
if (B === void 0) | ||
try { | ||
throw Error(); | ||
} catch (o) { | ||
var e = o.stack.trim().match(/\n( *(at )?)/); | ||
B = e && e[1] || "", ur = -1 < o.stack.indexOf(` | ||
at`) ? " (<anonymous>)" : -1 < o.stack.indexOf("@") ? "@unknown:0:0" : ""; | ||
} | ||
return ` | ||
` + B + r + ur; | ||
var J = !1, L; | ||
{ | ||
var Vr = typeof WeakMap == "function" ? WeakMap : Map; | ||
L = new Vr(); | ||
} | ||
function k(r, e) { | ||
if (!r || G) return ""; | ||
var o = V.get(r); | ||
if (o !== void 0) return o; | ||
G = !0, o = Error.prepareStackTrace, Error.prepareStackTrace = void 0; | ||
var a = null; | ||
a = E.H, E.H = null, u(); | ||
function lr(r, e) { | ||
if (!r || J) | ||
return ""; | ||
{ | ||
var n = L.get(r); | ||
if (n !== void 0) | ||
return n; | ||
} | ||
var o; | ||
J = !0; | ||
var t = Error.prepareStackTrace; | ||
Error.prepareStackTrace = void 0; | ||
var i; | ||
i = B.current, B.current = null, Wr(); | ||
try { | ||
var t = { | ||
DetermineComponentFrameRoot: function() { | ||
if (e) { | ||
var s = function() { | ||
throw Error(); | ||
}; | ||
if (Object.defineProperty(s.prototype, "props", { | ||
set: function() { | ||
throw Error(); | ||
} | ||
}), typeof Reflect == "object" && Reflect.construct) { | ||
try { | ||
if (e) { | ||
var m = function() { | ||
throw Error(); | ||
}; | ||
if (Object.defineProperty(m.prototype, "props", { | ||
set: function() { | ||
throw Error(); | ||
} | ||
}), typeof Reflect == "object" && Reflect.construct) { | ||
try { | ||
Reflect.construct(m, []); | ||
} catch (v) { | ||
var R = v; | ||
} | ||
Reflect.construct(r, [], m); | ||
} else { | ||
try { | ||
m.call(); | ||
} catch (v) { | ||
R = v; | ||
} | ||
r.call(m.prototype); | ||
} | ||
} else { | ||
try { | ||
throw Error(); | ||
} catch (v) { | ||
R = v; | ||
} | ||
(m = r()) && typeof m.catch == "function" && m.catch(function() { | ||
}); | ||
} | ||
Reflect.construct(s, []); | ||
} catch (v) { | ||
if (v && R && typeof v.stack == "string") | ||
return [v.stack, R.stack]; | ||
o = v; | ||
} | ||
return [null, null]; | ||
Reflect.construct(r, [], s); | ||
} else { | ||
try { | ||
s.call(); | ||
} catch (v) { | ||
o = v; | ||
} | ||
r.call(s.prototype); | ||
} | ||
}; | ||
t.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; | ||
var s = Object.getOwnPropertyDescriptor( | ||
t.DetermineComponentFrameRoot, | ||
"name" | ||
); | ||
s && s.configurable && Object.defineProperty( | ||
t.DetermineComponentFrameRoot, | ||
"name", | ||
{ value: "DetermineComponentFrameRoot" } | ||
); | ||
var n = t.DetermineComponentFrameRoot(), h = n[0], y = n[1]; | ||
if (h && y) { | ||
var i = h.split(` | ||
`), x = y.split(` | ||
`); | ||
for (n = s = 0; s < i.length && !i[s].includes( | ||
"DetermineComponentFrameRoot" | ||
); ) | ||
s++; | ||
for (; n < x.length && !x[n].includes( | ||
"DetermineComponentFrameRoot" | ||
); ) | ||
n++; | ||
if (s === i.length || n === x.length) | ||
for (s = i.length - 1, n = x.length - 1; 1 <= s && 0 <= n && i[s] !== x[n]; ) | ||
n--; | ||
for (; 1 <= s && 0 <= n; s--, n--) | ||
if (i[s] !== x[n]) { | ||
if (s !== 1 || n !== 1) | ||
} else { | ||
try { | ||
throw Error(); | ||
} catch (v) { | ||
o = v; | ||
} | ||
r(); | ||
} | ||
} catch (v) { | ||
if (v && o && typeof v.stack == "string") { | ||
for (var a = v.stack.split(` | ||
`), f = o.stack.split(` | ||
`), u = a.length - 1, d = f.length - 1; u >= 1 && d >= 0 && a[u] !== f[d]; ) | ||
d--; | ||
for (; u >= 1 && d >= 0; u--, d--) | ||
if (a[u] !== f[d]) { | ||
if (u !== 1 || d !== 1) | ||
do | ||
if (s--, n--, 0 > n || i[s] !== x[n]) { | ||
var T = ` | ||
` + i[s].replace( | ||
" at new ", | ||
" at " | ||
); | ||
return r.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", r.displayName)), typeof r == "function" && V.set(r, T), T; | ||
if (u--, d--, d < 0 || a[u] !== f[d]) { | ||
var m = ` | ||
` + a[u].replace(" at new ", " at "); | ||
return r.displayName && m.includes("<anonymous>") && (m = m.replace("<anonymous>", r.displayName)), typeof r == "function" && L.set(r, m), m; | ||
} | ||
while (1 <= s && 0 <= n); | ||
while (u >= 1 && d >= 0); | ||
break; | ||
@@ -256,115 +278,333 @@ } | ||
} finally { | ||
G = !1, E.H = a, c(), Error.prepareStackTrace = o; | ||
J = !1, B.current = i, Lr(), Error.prepareStackTrace = t; | ||
} | ||
return i = (i = r ? r.displayName || r.name : "") ? f(i) : "", typeof r == "function" && V.set(r, i), i; | ||
var D = r ? r.displayName || r.name : "", T = D ? W(D) : ""; | ||
return typeof r == "function" && L.set(r, T), T; | ||
} | ||
function C(r) { | ||
if (r == null) return ""; | ||
if (typeof r == "function") { | ||
var e = r.prototype; | ||
return k( | ||
r, | ||
!(!e || !e.isReactComponent) | ||
); | ||
} | ||
if (typeof r == "string") return f(r); | ||
function Mr(r, e, n) { | ||
return lr(r, !1); | ||
} | ||
function Nr(r) { | ||
var e = r.prototype; | ||
return !!(e && e.isReactComponent); | ||
} | ||
function V(r, e, n) { | ||
if (r == null) | ||
return ""; | ||
if (typeof r == "function") | ||
return lr(r, Nr(r)); | ||
if (typeof r == "string") | ||
return W(r); | ||
switch (r) { | ||
case $: | ||
return f("Suspense"); | ||
case M: | ||
return f("SuspenseList"); | ||
case C: | ||
return W("Suspense"); | ||
case p: | ||
return W("SuspenseList"); | ||
} | ||
if (typeof r == "object") | ||
switch (r.$$typeof) { | ||
case Y: | ||
return r = k(r.render, !1), r; | ||
case W: | ||
return C(r.type); | ||
case z: | ||
e = r._payload, r = r._init; | ||
case l: | ||
return Mr(r.render); | ||
case E: | ||
return V(r.type, e, n); | ||
case k: { | ||
var o = r, t = o._payload, i = o._init; | ||
try { | ||
return C(r(e)); | ||
return V(i(t), e, n); | ||
} catch { | ||
} | ||
} | ||
} | ||
return ""; | ||
} | ||
function A() { | ||
var r = E.A; | ||
return r === null ? null : r.getOwner(); | ||
var F = Object.prototype.hasOwnProperty, cr = {}, fr = P.ReactDebugCurrentFrame; | ||
function M(r) { | ||
if (r) { | ||
var e = r._owner, n = V(r.type, r._source, e ? e.type : null); | ||
fr.setExtraStackFrame(n); | ||
} else | ||
fr.setExtraStackFrame(null); | ||
} | ||
function hr(r) { | ||
if (D.call(r, "key")) { | ||
function Ur(r, e, n, o, t) { | ||
{ | ||
var i = Function.call.bind(F); | ||
for (var s in r) | ||
if (i(r, s)) { | ||
var a = void 0; | ||
try { | ||
if (typeof r[s] != "function") { | ||
var f = Error((o || "React class") + ": " + n + " type `" + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[s] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); | ||
throw f.name = "Invariant Violation", f; | ||
} | ||
a = r[s](e, s, o, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); | ||
} catch (u) { | ||
a = u; | ||
} | ||
a && !(a instanceof Error) && (M(t), c("%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).", o || "React class", n, s, typeof a), M(null)), a instanceof Error && !(a.message in cr) && (cr[a.message] = !0, M(t), c("Failed %s type: %s", n, a.message), M(null)); | ||
} | ||
} | ||
} | ||
var Br = Array.isArray; | ||
function q(r) { | ||
return Br(r); | ||
} | ||
function zr(r) { | ||
{ | ||
var e = typeof Symbol == "function" && Symbol.toStringTag, n = e && r[Symbol.toStringTag] || r.constructor.name || "Object"; | ||
return n; | ||
} | ||
} | ||
function Jr(r) { | ||
try { | ||
return gr(r), !1; | ||
} catch { | ||
return !0; | ||
} | ||
} | ||
function gr(r) { | ||
return "" + r; | ||
} | ||
function br(r) { | ||
if (Jr(r)) | ||
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", zr(r)), gr(r); | ||
} | ||
var hr = P.ReactCurrentOwner, qr = { | ||
key: !0, | ||
ref: !0, | ||
__self: !0, | ||
__source: !0 | ||
}, vr, pr; | ||
function Gr(r) { | ||
if (F.call(r, "ref")) { | ||
var e = Object.getOwnPropertyDescriptor(r, "ref").get; | ||
if (e && e.isReactWarning) | ||
return !1; | ||
} | ||
return r.ref !== void 0; | ||
} | ||
function Kr(r) { | ||
if (F.call(r, "key")) { | ||
var e = Object.getOwnPropertyDescriptor(r, "key").get; | ||
if (e && e.isReactWarning) return !1; | ||
if (e && e.isReactWarning) | ||
return !1; | ||
} | ||
return r.key !== void 0; | ||
} | ||
function vr(r, e) { | ||
function o() { | ||
tr || (tr = !0, console.error( | ||
"%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://react.dev/link/special-props)", | ||
e | ||
)); | ||
function Xr(r, e) { | ||
typeof r.ref == "string" && hr.current; | ||
} | ||
function Hr(r, e) { | ||
{ | ||
var n = function() { | ||
vr || (vr = !0, c("%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)", e)); | ||
}; | ||
n.isReactWarning = !0, Object.defineProperty(r, "key", { | ||
get: n, | ||
configurable: !0 | ||
}); | ||
} | ||
o.isReactWarning = !0, Object.defineProperty(r, "key", { | ||
get: o, | ||
configurable: !0 | ||
}); | ||
} | ||
function mr() { | ||
var r = d(this.type); | ||
return ir[r] || (ir[r] = !0, console.error( | ||
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release." | ||
)), r = this.props.ref, r !== void 0 ? r : null; | ||
function Zr(r, e) { | ||
{ | ||
var n = function() { | ||
pr || (pr = !0, c("%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)", e)); | ||
}; | ||
n.isReactWarning = !0, Object.defineProperty(r, "ref", { | ||
get: n, | ||
configurable: !0 | ||
}); | ||
} | ||
} | ||
function Er(r, e, o, a, t, s) { | ||
return o = s.ref, r = { | ||
$$typeof: N, | ||
var Qr = function(r, e, n, o, t, i, s) { | ||
var a = { | ||
// This tag allows us to uniquely identify this as a React Element | ||
$$typeof: b, | ||
// Built-in properties that belong on the element | ||
type: r, | ||
key: e, | ||
ref: n, | ||
props: s, | ||
_owner: t | ||
}, (o !== void 0 ? o : null) !== null ? Object.defineProperty(r, "ref", { | ||
enumerable: !1, | ||
get: mr | ||
}) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", { | ||
// Record the component responsible for creating this element. | ||
_owner: i | ||
}; | ||
return a._store = {}, Object.defineProperty(a._store, "validated", { | ||
configurable: !1, | ||
enumerable: !1, | ||
writable: !0, | ||
value: 0 | ||
}), Object.defineProperty(r, "_debugInfo", { | ||
value: !1 | ||
}), Object.defineProperty(a, "_self", { | ||
configurable: !1, | ||
enumerable: !1, | ||
writable: !0, | ||
value: null | ||
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r; | ||
writable: !1, | ||
value: o | ||
}), Object.defineProperty(a, "_source", { | ||
configurable: !1, | ||
enumerable: !1, | ||
writable: !1, | ||
value: t | ||
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a; | ||
}; | ||
function re(r, e, n, o, t) { | ||
{ | ||
var i, s = {}, a = null, f = null; | ||
n !== void 0 && (br(n), a = "" + n), Kr(e) && (br(e.key), a = "" + e.key), Gr(e) && (f = e.ref, Xr(e, t)); | ||
for (i in e) | ||
F.call(e, i) && !qr.hasOwnProperty(i) && (s[i] = e[i]); | ||
if (r && r.defaultProps) { | ||
var u = r.defaultProps; | ||
for (i in u) | ||
s[i] === void 0 && (s[i] = u[i]); | ||
} | ||
if (a || f) { | ||
var d = typeof r == "function" ? r.displayName || r.name || "Unknown" : r; | ||
a && Hr(s, d), f && Zr(s, d); | ||
} | ||
return Qr(r, a, f, t, o, hr.current, s); | ||
} | ||
} | ||
function H(r, e, o, a, t, s) { | ||
if (typeof r == "string" || typeof r == "function" || r === P || r === L || r === I || r === $ || r === M || r === yr || typeof r == "object" && r !== null && (r.$$typeof === z || r.$$typeof === W || r.$$typeof === Q || r.$$typeof === Z || r.$$typeof === Y || r.$$typeof === Tr || r.getModuleId !== void 0)) { | ||
var n = e.children; | ||
if (n !== void 0) | ||
if (a) | ||
if (U(n)) { | ||
for (a = 0; a < n.length; a++) | ||
X(n[a], r); | ||
Object.freeze && Object.freeze(n); | ||
} else | ||
console.error( | ||
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead." | ||
); | ||
else X(n, r); | ||
var G = P.ReactCurrentOwner, mr = P.ReactDebugCurrentFrame; | ||
function j(r) { | ||
if (r) { | ||
var e = r._owner, n = V(r.type, r._source, e ? e.type : null); | ||
mr.setExtraStackFrame(n); | ||
} else | ||
n = "", (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (n += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), r === null ? a = "null" : U(r) ? a = "array" : r !== void 0 && r.$$typeof === N ? (a = "<" + (d(r.type) || "Unknown") + " />", n = " Did you accidentally export a JSX literal instead of a component?") : a = typeof r, console.error( | ||
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", | ||
a, | ||
n | ||
); | ||
if (D.call(e, "key")) { | ||
n = d(r); | ||
var h = Object.keys(e).filter(function(i) { | ||
return i !== "key"; | ||
}); | ||
a = 0 < h.length ? "{key: someKey, " + h.join(": ..., ") + ": ...}" : "{key: someKey}", lr[n + a] || (h = 0 < h.length ? "{" + h.join(": ..., ") + ": ...}" : "{}", console.error( | ||
`A props object containing a "key" prop is being spread into JSX: | ||
mr.setExtraStackFrame(null); | ||
} | ||
var K; | ||
K = !1; | ||
function X(r) { | ||
return typeof r == "object" && r !== null && r.$$typeof === b; | ||
} | ||
function yr() { | ||
{ | ||
if (G.current) { | ||
var r = _(G.current.type); | ||
if (r) | ||
return ` | ||
Check the render method of \`` + r + "`."; | ||
} | ||
return ""; | ||
} | ||
} | ||
function ee(r) { | ||
return ""; | ||
} | ||
var Er = {}; | ||
function ne(r) { | ||
{ | ||
var e = yr(); | ||
if (!e) { | ||
var n = typeof r == "string" ? r : r.displayName || r.name; | ||
n && (e = ` | ||
Check the top-level render call using <` + n + ">."); | ||
} | ||
return e; | ||
} | ||
} | ||
function _r(r, e) { | ||
{ | ||
if (!r._store || r._store.validated || r.key != null) | ||
return; | ||
r._store.validated = !0; | ||
var n = ne(e); | ||
if (Er[n]) | ||
return; | ||
Er[n] = !0; | ||
var o = ""; | ||
r && r._owner && r._owner !== G.current && (o = " It was passed a child from " + _(r._owner.type) + "."), j(r), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, o), j(null); | ||
} | ||
} | ||
function Rr(r, e) { | ||
{ | ||
if (typeof r != "object") | ||
return; | ||
if (q(r)) | ||
for (var n = 0; n < r.length; n++) { | ||
var o = r[n]; | ||
X(o) && _r(o, e); | ||
} | ||
else if (X(r)) | ||
r._store && (r._store.validated = !0); | ||
else if (r) { | ||
var t = Cr(r); | ||
if (typeof t == "function" && t !== r.entries) | ||
for (var i = t.call(r), s; !(s = i.next()).done; ) | ||
X(s.value) && _r(s.value, e); | ||
} | ||
} | ||
} | ||
function oe(r) { | ||
{ | ||
var e = r.type; | ||
if (e == null || typeof e == "string") | ||
return; | ||
var n; | ||
if (typeof e == "function") | ||
n = e.propTypes; | ||
else if (typeof e == "object" && (e.$$typeof === l || // Note: Memo only checks outer props here. | ||
// Inner props are checked in the reconciler. | ||
e.$$typeof === E)) | ||
n = e.propTypes; | ||
else | ||
return; | ||
if (n) { | ||
var o = _(e); | ||
Ur(n, r.props, "prop", o, r); | ||
} else if (e.PropTypes !== void 0 && !K) { | ||
K = !0; | ||
var t = _(e); | ||
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", t || "Unknown"); | ||
} | ||
typeof e.getDefaultProps == "function" && !e.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); | ||
} | ||
} | ||
function ae(r) { | ||
{ | ||
for (var e = Object.keys(r.props), n = 0; n < e.length; n++) { | ||
var o = e[n]; | ||
if (o !== "children" && o !== "key") { | ||
j(r), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), j(null); | ||
break; | ||
} | ||
} | ||
r.ref !== null && (j(r), c("Invalid attribute `ref` supplied to `React.Fragment`."), j(null)); | ||
} | ||
} | ||
var xr = {}; | ||
function wr(r, e, n, o, t, i) { | ||
{ | ||
var s = $r(r); | ||
if (!s) { | ||
var a = ""; | ||
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); | ||
var f = ee(); | ||
f ? a += f : a += yr(); | ||
var u; | ||
r === null ? u = "null" : q(r) ? u = "array" : r !== void 0 && r.$$typeof === b ? (u = "<" + (_(r.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : u = typeof r, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", u, a); | ||
} | ||
var d = re(r, e, n, t, i); | ||
if (d == null) | ||
return d; | ||
if (s) { | ||
var m = e.children; | ||
if (m !== void 0) | ||
if (o) | ||
if (q(m)) { | ||
for (var D = 0; D < m.length; D++) | ||
Rr(m[D], r); | ||
Object.freeze && Object.freeze(m); | ||
} else | ||
c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); | ||
else | ||
Rr(m, r); | ||
} | ||
if (F.call(e, "key")) { | ||
var T = _(r), v = Object.keys(e).filter(function(le) { | ||
return le !== "key"; | ||
}), H = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}"; | ||
if (!xr[T + H]) { | ||
var de = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}"; | ||
c(`A props object containing a "key" prop is being spread into JSX: | ||
let props = %s; | ||
@@ -374,73 +614,21 @@ <%s {...props} /> | ||
let props = %s; | ||
<%s key={someKey} {...props} />`, | ||
a, | ||
n, | ||
h, | ||
n | ||
), lr[n + a] = !0); | ||
} | ||
if (n = null, o !== void 0 && (b(o), n = "" + o), hr(e) && (b(e.key), n = "" + e.key), "key" in e) { | ||
o = {}; | ||
for (var y in e) | ||
y !== "key" && (o[y] = e[y]); | ||
} else o = e; | ||
return n && vr( | ||
o, | ||
typeof r == "function" ? r.displayName || r.name || "Unknown" : r | ||
), Er(r, n, s, t, A(), o); | ||
} | ||
function X(r, e) { | ||
if (typeof r == "object" && r && r.$$typeof !== _r) { | ||
if (U(r)) | ||
for (var o = 0; o < r.length; o++) { | ||
var a = r[o]; | ||
O(a) && F(a, e); | ||
<%s key={someKey} {...props} />`, H, T, de, T), xr[T + H] = !0; | ||
} | ||
else if (O(r)) | ||
r._store && (r._store.validated = 1); | ||
else if (r === null || typeof r != "object" ? o = null : (o = K && r[K] || r["@@iterator"], o = typeof o == "function" ? o : null), typeof o == "function" && o !== r.entries && (o = o.call(r), o !== r)) | ||
for (; !(r = o.next()).done; ) | ||
O(r.value) && F(r.value, e); | ||
} | ||
return r === y ? ae(d) : oe(d), d; | ||
} | ||
} | ||
function O(r) { | ||
return typeof r == "object" && r !== null && r.$$typeof === N; | ||
function se(r, e, n) { | ||
return wr(r, e, n, !0); | ||
} | ||
function F(r, e) { | ||
if (r._store && !r._store.validated && r.key == null && (r._store.validated = 1, e = pr(e), !cr[e])) { | ||
cr[e] = !0; | ||
var o = ""; | ||
r && r._owner != null && r._owner !== A() && (o = null, typeof r._owner.tag == "number" ? o = d(r._owner.type) : typeof r._owner.name == "string" && (o = r._owner.name), o = " It was passed a child from " + o + "."); | ||
var a = E.getCurrentStack; | ||
E.getCurrentStack = function() { | ||
var t = C(r.type); | ||
return a && (t += a() || ""), t; | ||
}, console.error( | ||
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.', | ||
e, | ||
o | ||
), E.getCurrentStack = a; | ||
} | ||
function te(r, e, n) { | ||
return wr(r, e, n, !1); | ||
} | ||
function pr(r) { | ||
var e = "", o = A(); | ||
return o && (o = d(o.type)) && (e = ` | ||
Check the render method of \`` + o + "`."), e || (r = d(r)) && (e = ` | ||
Check the top-level render call using <` + r + ">."), e; | ||
} | ||
var xr = J, N = Symbol.for("react.transitional.element"), kr = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), L = Symbol.for("react.profiler"), Z = Symbol.for("react.consumer"), Q = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), W = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), yr = Symbol.for("react.offscreen"), K = Symbol.iterator, wr = Symbol.for("react.client.reference"), E = xr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, p = Object.assign, Tr = Symbol.for("react.client.reference"), U = Array.isArray, w = 0, rr, er, or, nr, ar, sr, dr; | ||
g.__reactDisabledLog = !0; | ||
var B, ur, G = !1, V = new (typeof WeakMap == "function" ? WeakMap : Map)(), _r = Symbol.for("react.client.reference"), tr, ir = {}, lr = {}, cr = {}; | ||
S.Fragment = P, S.jsx = function(r, e, o, a, t) { | ||
return H(r, e, o, !1, a, t); | ||
}, S.jsxs = function(r, e, o, a, t) { | ||
return H(r, e, o, !0, a, t); | ||
}; | ||
}()), S; | ||
var ie = te, ue = se; | ||
$.Fragment = y, $.jsx = ie, $.jsxs = ue; | ||
}()), $; | ||
} | ||
process.env.NODE_ENV === "production" ? q.exports = Sr() : q.exports = Rr(); | ||
var jr = q.exports; | ||
const Cr = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"); | ||
process.env.NODE_ENV === "production" ? Z.exports = ce() : Z.exports = fe(); | ||
var ge = Z.exports; | ||
const be = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"); | ||
@@ -638,10 +826,10 @@ :root { | ||
} | ||
`, gr = "hudoro-badges-styles", Ar = (d) => { | ||
if (!document.getElementById(gr)) { | ||
const l = document.createElement("style"); | ||
l.id = gr, l.textContent = d, document.head.appendChild(l); | ||
`, Tr = "hudoro-badges-styles", he = (g) => { | ||
if (!document.getElementById(Tr)) { | ||
const b = document.createElement("style"); | ||
b.id = Tr, b.textContent = g, document.head.appendChild(b); | ||
} | ||
}; | ||
Ar(Cr); | ||
const j = { | ||
he(be); | ||
const N = { | ||
xs: 14, | ||
@@ -651,14 +839,14 @@ sm: 16, | ||
lg: 18 | ||
}, Pr = ({ | ||
size: d = "md", | ||
variant: l = "info", | ||
text: b, | ||
LeftIcon: g, | ||
RightIcon: u, | ||
border: c, | ||
corners: f = "rounded" | ||
}) => /* @__PURE__ */ jr.jsxs("div", { className: Or(d, l, c, f), children: [ | ||
g ? J.cloneElement(g, { | ||
width: j[d], | ||
height: j[d], | ||
}, me = ({ | ||
size: g = "md", | ||
variant: b = "info", | ||
text: R, | ||
LeftIcon: y, | ||
RightIcon: h, | ||
border: O, | ||
corners: x = "rounded" | ||
}) => /* @__PURE__ */ ge.jsxs("div", { className: ve(g, b, O, x), children: [ | ||
y ? U.cloneElement(y, { | ||
width: N[g], | ||
height: N[g], | ||
// color: renderColorLeftIcon(rest.disabled ? "disable" : status), | ||
@@ -673,6 +861,6 @@ // onClick: onClickLeftIcon, | ||
), | ||
b, | ||
u ? J.cloneElement(u, { | ||
width: j[d], | ||
height: j[d], | ||
R, | ||
h ? U.cloneElement(h, { | ||
width: N[g], | ||
height: N[g], | ||
style: { | ||
@@ -692,8 +880,8 @@ color: "inherit" | ||
) | ||
] }), Or = (d, l, b, g) => { | ||
let u = ["hudoro-badges"]; | ||
return d && u.push(`hudoro-badges-${d}`), l && u.push(`hudoro-badges-${l}`), b && u.push("hudoro-badges-border"), g === "rounded" ? u.push("hudoro-badges-rounded") : u.push("hudoro-badges-circular"), u.join(" "); | ||
] }), ve = (g, b, R, y) => { | ||
let h = ["hudoro-badges"]; | ||
return g && h.push(`hudoro-badges-${g}`), b && h.push(`hudoro-badges-${b}`), R && h.push("hudoro-badges-border"), y === "rounded" ? h.push("hudoro-badges-rounded") : h.push("hudoro-badges-circular"), h.join(" "); | ||
}; | ||
export { | ||
Pr as Badges | ||
me as Badges | ||
}; |
@@ -1,23 +0,26 @@ | ||
(function(p,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],E):(p=typeof globalThis<"u"?globalThis:p||self,E(p.Badges={},p.React))})(this,function(p,E){"use strict";var O={exports:{}},S={};/** | ||
(function(x,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],R):(x=typeof globalThis<"u"?globalThis:x||self,R(x.Badges={},x.React))})(this,function(x,R){"use strict";var z={exports:{}},I={};/** | ||
* @license React | ||
* react-jsx-runtime.production.js | ||
* react-jsx-runtime.production.min.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/var X;function vr(){if(X)return S;X=1;var d=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function b(g,u,c){var f=null;if(c!==void 0&&(f=""+c),u.key!==void 0&&(f=""+u.key),"key"in u){c={};for(var w in u)w!=="key"&&(c[w]=u[w])}else c=u;return u=c.ref,{$$typeof:d,type:g,key:f,ref:u!==void 0?u:null,props:c}}return S.Fragment=l,S.jsx=b,S.jsxs=b,S}var _={};/** | ||
*/var rr;function Pr(){if(rr)return I;rr=1;var g=R,b=Symbol.for("react.element"),w=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,h=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function S(T,l,j){var p,E={},k=null,V=null;j!==void 0&&(k=""+j),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(V=l.ref);for(p in l)y.call(l,p)&&!C.hasOwnProperty(p)&&(E[p]=l[p]);if(T&&T.defaultProps)for(p in l=T.defaultProps,l)E[p]===void 0&&(E[p]=l[p]);return{$$typeof:b,type:T,key:k,ref:V,props:E,_owner:h.current}}return I.Fragment=w,I.jsx=S,I.jsxs=S,I}var Y={};/** | ||
* @license React | ||
* react-jsx-runtime.development.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/var F;function mr(){return F||(F=1,process.env.NODE_ENV!=="production"&&function(){function d(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===Ar?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case $:return"Fragment";case Rr:return"Portal";case D:return"Profiler";case K:return"StrictMode";case z:return"Suspense";case U:return"SuspenseList"}if(typeof r=="object")switch(typeof r.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case er:return(r.displayName||"Context")+".Provider";case rr:return(r._context.displayName||"Context")+".Consumer";case W:var e=r.render;return r=r.displayName,r||(r=e.displayName||e.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case B:return e=r.displayName||null,e!==null?e:d(r.type)||"Memo";case G:e=r._payload,r=r._init;try{return d(r(e))}catch{}}return null}function l(r){return""+r}function b(r){try{l(r);var e=!1}catch{e=!0}if(e){e=console;var o=e.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object";return o.call(e,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),l(r)}}function g(){}function u(){if(j===0){ar=console.log,sr=console.info,dr=console.warn,ur=console.error,tr=console.group,ir=console.groupCollapsed,lr=console.groupEnd;var r={configurable:!0,enumerable:!0,value:g,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}j++}function c(){if(j--,j===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y({},r,{value:ar}),info:y({},r,{value:sr}),warn:y({},r,{value:dr}),error:y({},r,{value:ur}),group:y({},r,{value:tr}),groupCollapsed:y({},r,{value:ir}),groupEnd:y({},r,{value:lr})})}0>j&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function f(r){if(q===void 0)try{throw Error()}catch(o){var e=o.stack.trim().match(/\n( *(at )?)/);q=e&&e[1]||"",cr=-1<o.stack.indexOf(` | ||
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return` | ||
`+q+r+cr}function w(r,e){if(!r||J)return"";var o=H.get(r);if(o!==void 0)return o;J=!0,o=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=x.H,x.H=null,u();try{var t={DetermineComponentFrameRoot:function(){try{if(e){var m=function(){throw Error()};if(Object.defineProperty(m.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(v){var A=v}Reflect.construct(r,[],m)}else{try{m.call()}catch(v){A=v}r.call(m.prototype)}}else{try{throw Error()}catch(v){A=v}(m=r())&&typeof m.catch=="function"&&m.catch(function(){})}}catch(v){if(v&&A&&typeof v.stack=="string")return[v.stack,A.stack]}return[null,null]}};t.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(t.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(t.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=t.DetermineComponentFrameRoot(),h=n[0],T=n[1];if(h&&T){var i=h.split(` | ||
`),k=T.split(` | ||
`);for(n=s=0;s<i.length&&!i[s].includes("DetermineComponentFrameRoot");)s++;for(;n<k.length&&!k[n].includes("DetermineComponentFrameRoot");)n++;if(s===i.length||n===k.length)for(s=i.length-1,n=k.length-1;1<=s&&0<=n&&i[s]!==k[n];)n--;for(;1<=s&&0<=n;s--,n--)if(i[s]!==k[n]){if(s!==1||n!==1)do if(s--,n--,0>n||i[s]!==k[n]){var R=` | ||
`+i[s].replace(" at new "," at ");return r.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",r.displayName)),typeof r=="function"&&H.set(r,R),R}while(1<=s&&0<=n);break}}}finally{J=!1,x.H=a,c(),Error.prepareStackTrace=o}return i=(i=r?r.displayName||r.name:"")?f(i):"",typeof r=="function"&&H.set(r,i),i}function N(r){if(r==null)return"";if(typeof r=="function"){var e=r.prototype;return w(r,!(!e||!e.isReactComponent))}if(typeof r=="string")return f(r);switch(r){case z:return f("Suspense");case U:return f("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case W:return r=w(r.render,!1),r;case B:return N(r.type);case G:e=r._payload,r=r._init;try{return N(r(e))}catch{}}return""}function P(){var r=x.A;return r===null?null:r.getOwner()}function kr(r){if(nr.call(r,"key")){var e=Object.getOwnPropertyDescriptor(r,"key").get;if(e&&e.isReactWarning)return!1}return r.key!==void 0}function wr(r,e){function o(){fr||(fr=!0,console.error("%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://react.dev/link/special-props)",e))}o.isReactWarning=!0,Object.defineProperty(r,"key",{get:o,configurable:!0})}function Tr(){var r=d(this.type);return br[r]||(br[r]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),r=this.props.ref,r!==void 0?r:null}function Sr(r,e,o,a,t,s){return o=s.ref,r={$$typeof:M,type:r,key:e,props:s,_owner:t},(o!==void 0?o:null)!==null?Object.defineProperty(r,"ref",{enumerable:!1,get:Tr}):Object.defineProperty(r,"ref",{enumerable:!1,value:null}),r._store={},Object.defineProperty(r._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(r.props),Object.freeze(r)),r}function L(r,e,o,a,t,s){if(typeof r=="string"||typeof r=="function"||r===$||r===D||r===K||r===z||r===U||r===Cr||typeof r=="object"&&r!==null&&(r.$$typeof===G||r.$$typeof===B||r.$$typeof===er||r.$$typeof===rr||r.$$typeof===W||r.$$typeof===Or||r.getModuleId!==void 0)){var n=e.children;if(n!==void 0)if(a)if(V(n)){for(a=0;a<n.length;a++)Z(n[a],r);Object.freeze&&Object.freeze(n)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Z(n,r)}else n="",(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(n+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),r===null?a="null":V(r)?a="array":r!==void 0&&r.$$typeof===M?(a="<"+(d(r.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?"):a=typeof r,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",a,n);if(nr.call(e,"key")){n=d(r);var h=Object.keys(e).filter(function(i){return i!=="key"});a=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",gr[n+a]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX: | ||
*/var er;function Cr(){return er||(er=1,process.env.NODE_ENV!=="production"&&function(){var g=R,b=Symbol.for("react.element"),w=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),T=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),V=Symbol.for("react.offscreen"),or=Symbol.iterator,Ir="@@iterator";function Yr(r){if(r===null||typeof r!="object")return null;var e=or&&r[or]||r[Ir];return typeof e=="function"?e:null}var D=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(r){{for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];Wr("error",r,n)}}function Wr(r,e,n){{var o=D.ReactDebugCurrentFrame,t=o.getStackAddendum();t!==""&&(e+="%s",n=n.concat([t]));var i=n.map(function(s){return String(s)});i.unshift("Warning: "+e),Function.prototype.apply.call(console[r],console,i)}}var $r=!1,Lr=!1,Vr=!1,Mr=!1,Nr=!1,ar;ar=Symbol.for("react.module.reference");function Ur(r){return!!(typeof r=="string"||typeof r=="function"||r===y||r===C||Nr||r===h||r===j||r===p||Mr||r===V||$r||Lr||Vr||typeof r=="object"&&r!==null&&(r.$$typeof===k||r.$$typeof===E||r.$$typeof===S||r.$$typeof===T||r.$$typeof===l||r.$$typeof===ar||r.getModuleId!==void 0))}function Br(r,e,n){var o=r.displayName;if(o)return o;var t=e.displayName||e.name||"";return t!==""?n+"("+t+")":n}function sr(r){return r.displayName||"Context"}function _(r){if(r==null)return null;if(typeof r.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case y:return"Fragment";case w:return"Portal";case C:return"Profiler";case h:return"StrictMode";case j:return"Suspense";case p:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case T:var e=r;return sr(e)+".Consumer";case S:var n=r;return sr(n._context)+".Provider";case l:return Br(r,r.render,"ForwardRef");case E:var o=r.displayName||null;return o!==null?o:_(r.type)||"Memo";case k:{var t=r,i=t._payload,s=t._init;try{return _(s(i))}catch{return null}}}return null}var O=Object.assign,W=0,tr,ir,ur,dr,lr,cr,fr;function gr(){}gr.__reactDisabledLog=!0;function zr(){{if(W===0){tr=console.log,ir=console.info,ur=console.warn,dr=console.error,lr=console.group,cr=console.groupCollapsed,fr=console.groupEnd;var r={configurable:!0,enumerable:!0,value:gr,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}W++}}function Jr(){{if(W--,W===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},r,{value:tr}),info:O({},r,{value:ir}),warn:O({},r,{value:ur}),error:O({},r,{value:dr}),group:O({},r,{value:lr}),groupCollapsed:O({},r,{value:cr}),groupEnd:O({},r,{value:fr})})}W<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=D.ReactCurrentDispatcher,G;function M(r,e,n){{if(G===void 0)try{throw Error()}catch(t){var o=t.stack.trim().match(/\n( *(at )?)/);G=o&&o[1]||""}return` | ||
`+G+r}}var K=!1,N;{var Gr=typeof WeakMap=="function"?WeakMap:Map;N=new Gr}function br(r,e){if(!r||K)return"";{var n=N.get(r);if(n!==void 0)return n}var o;K=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=J.current,J.current=null,zr();try{if(e){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(v){o=v}Reflect.construct(r,[],s)}else{try{s.call()}catch(v){o=v}r.call(s.prototype)}}else{try{throw Error()}catch(v){o=v}r()}}catch(v){if(v&&o&&typeof v.stack=="string"){for(var a=v.stack.split(` | ||
`),f=o.stack.split(` | ||
`),u=a.length-1,d=f.length-1;u>=1&&d>=0&&a[u]!==f[d];)d--;for(;u>=1&&d>=0;u--,d--)if(a[u]!==f[d]){if(u!==1||d!==1)do if(u--,d--,d<0||a[u]!==f[d]){var m=` | ||
`+a[u].replace(" at new "," at ");return r.displayName&&m.includes("<anonymous>")&&(m=m.replace("<anonymous>",r.displayName)),typeof r=="function"&&N.set(r,m),m}while(u>=1&&d>=0);break}}}finally{K=!1,J.current=i,Jr(),Error.prepareStackTrace=t}var F=r?r.displayName||r.name:"",P=F?M(F):"";return typeof r=="function"&&N.set(r,P),P}function Kr(r,e,n){return br(r,!1)}function qr(r){var e=r.prototype;return!!(e&&e.isReactComponent)}function U(r,e,n){if(r==null)return"";if(typeof r=="function")return br(r,qr(r));if(typeof r=="string")return M(r);switch(r){case j:return M("Suspense");case p:return M("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case l:return Kr(r.render);case E:return U(r.type,e,n);case k:{var o=r,t=o._payload,i=o._init;try{return U(i(t),e,n)}catch{}}}return""}var $=Object.prototype.hasOwnProperty,hr={},vr=D.ReactDebugCurrentFrame;function B(r){if(r){var e=r._owner,n=U(r.type,r._source,e?e.type:null);vr.setExtraStackFrame(n)}else vr.setExtraStackFrame(null)}function Xr(r,e,n,o,t){{var i=Function.call.bind($);for(var s in r)if(i(r,s)){var a=void 0;try{if(typeof r[s]!="function"){var f=Error((o||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}a=r[s](e,s,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){a=u}a&&!(a instanceof Error)&&(B(t),c("%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).",o||"React class",n,s,typeof a),B(null)),a instanceof Error&&!(a.message in hr)&&(hr[a.message]=!0,B(t),c("Failed %s type: %s",n,a.message),B(null))}}}var Hr=Array.isArray;function q(r){return Hr(r)}function Zr(r){{var e=typeof Symbol=="function"&&Symbol.toStringTag,n=e&&r[Symbol.toStringTag]||r.constructor.name||"Object";return n}}function Qr(r){try{return pr(r),!1}catch{return!0}}function pr(r){return""+r}function mr(r){if(Qr(r))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zr(r)),pr(r)}var yr=D.ReactCurrentOwner,re={key:!0,ref:!0,__self:!0,__source:!0},Er,Rr;function ee(r){if($.call(r,"ref")){var e=Object.getOwnPropertyDescriptor(r,"ref").get;if(e&&e.isReactWarning)return!1}return r.ref!==void 0}function ne(r){if($.call(r,"key")){var e=Object.getOwnPropertyDescriptor(r,"key").get;if(e&&e.isReactWarning)return!1}return r.key!==void 0}function oe(r,e){typeof r.ref=="string"&&yr.current}function ae(r,e){{var n=function(){Er||(Er=!0,c("%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)",e))};n.isReactWarning=!0,Object.defineProperty(r,"key",{get:n,configurable:!0})}}function se(r,e){{var n=function(){Rr||(Rr=!0,c("%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)",e))};n.isReactWarning=!0,Object.defineProperty(r,"ref",{get:n,configurable:!0})}}var te=function(r,e,n,o,t,i,s){var a={$$typeof:b,type:r,key:e,ref:n,props:s,_owner:i};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:t}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ie(r,e,n,o,t){{var i,s={},a=null,f=null;n!==void 0&&(mr(n),a=""+n),ne(e)&&(mr(e.key),a=""+e.key),ee(e)&&(f=e.ref,oe(e,t));for(i in e)$.call(e,i)&&!re.hasOwnProperty(i)&&(s[i]=e[i]);if(r&&r.defaultProps){var u=r.defaultProps;for(i in u)s[i]===void 0&&(s[i]=u[i])}if(a||f){var d=typeof r=="function"?r.displayName||r.name||"Unknown":r;a&&ae(s,d),f&&se(s,d)}return te(r,a,f,t,o,yr.current,s)}}var X=D.ReactCurrentOwner,_r=D.ReactDebugCurrentFrame;function A(r){if(r){var e=r._owner,n=U(r.type,r._source,e?e.type:null);_r.setExtraStackFrame(n)}else _r.setExtraStackFrame(null)}var H;H=!1;function Z(r){return typeof r=="object"&&r!==null&&r.$$typeof===b}function xr(){{if(X.current){var r=_(X.current.type);if(r)return` | ||
Check the render method of \``+r+"`."}return""}}function ue(r){return""}var wr={};function de(r){{var e=xr();if(!e){var n=typeof r=="string"?r:r.displayName||r.name;n&&(e=` | ||
Check the top-level render call using <`+n+">.")}return e}}function Sr(r,e){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var n=de(e);if(wr[n])return;wr[n]=!0;var o="";r&&r._owner&&r._owner!==X.current&&(o=" It was passed a child from "+_(r._owner.type)+"."),A(r),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),A(null)}}function Tr(r,e){{if(typeof r!="object")return;if(q(r))for(var n=0;n<r.length;n++){var o=r[n];Z(o)&&Sr(o,e)}else if(Z(r))r._store&&(r._store.validated=!0);else if(r){var t=Yr(r);if(typeof t=="function"&&t!==r.entries)for(var i=t.call(r),s;!(s=i.next()).done;)Z(s.value)&&Sr(s.value,e)}}}function le(r){{var e=r.type;if(e==null||typeof e=="string")return;var n;if(typeof e=="function")n=e.propTypes;else if(typeof e=="object"&&(e.$$typeof===l||e.$$typeof===E))n=e.propTypes;else return;if(n){var o=_(e);Xr(n,r.props,"prop",o,r)}else if(e.PropTypes!==void 0&&!H){H=!0;var t=_(e);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",t||"Unknown")}typeof e.getDefaultProps=="function"&&!e.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ce(r){{for(var e=Object.keys(r.props),n=0;n<e.length;n++){var o=e[n];if(o!=="children"&&o!=="key"){A(r),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),A(null);break}}r.ref!==null&&(A(r),c("Invalid attribute `ref` supplied to `React.Fragment`."),A(null))}}var kr={};function Or(r,e,n,o,t,i){{var s=Ur(r);if(!s){var a="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var f=ue();f?a+=f:a+=xr();var u;r===null?u="null":q(r)?u="array":r!==void 0&&r.$$typeof===b?(u="<"+(_(r.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof r,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var d=ie(r,e,n,t,i);if(d==null)return d;if(s){var m=e.children;if(m!==void 0)if(o)if(q(m)){for(var F=0;F<m.length;F++)Tr(m[F],r);Object.freeze&&Object.freeze(m)}else c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Tr(m,r)}if($.call(e,"key")){var P=_(r),v=Object.keys(e).filter(function(pe){return pe!=="key"}),Q=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!kr[P+Q]){var ve=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX: | ||
let props = %s; | ||
@@ -27,8 +30,4 @@ <%s {...props} /> | ||
let props = %s; | ||
<%s key={someKey} {...props} />`,a,n,h,n),gr[n+a]=!0)}if(n=null,o!==void 0&&(b(o),n=""+o),kr(e)&&(b(e.key),n=""+e.key),"key"in e){o={};for(var T in e)T!=="key"&&(o[T]=e[T])}else o=e;return n&&wr(o,typeof r=="function"?r.displayName||r.name||"Unknown":r),Sr(r,n,s,t,P(),o)}function Z(r,e){if(typeof r=="object"&&r&&r.$$typeof!==Nr){if(V(r))for(var o=0;o<r.length;o++){var a=r[o];Y(a)&&Q(a,e)}else if(Y(r))r._store&&(r._store.validated=1);else if(r===null||typeof r!="object"?o=null:(o=or&&r[or]||r["@@iterator"],o=typeof o=="function"?o:null),typeof o=="function"&&o!==r.entries&&(o=o.call(r),o!==r))for(;!(r=o.next()).done;)Y(r.value)&&Q(r.value,e)}}function Y(r){return typeof r=="object"&&r!==null&&r.$$typeof===M}function Q(r,e){if(r._store&&!r._store.validated&&r.key==null&&(r._store.validated=1,e=_r(e),!hr[e])){hr[e]=!0;var o="";r&&r._owner!=null&&r._owner!==P()&&(o=null,typeof r._owner.tag=="number"?o=d(r._owner.type):typeof r._owner.name=="string"&&(o=r._owner.name),o=" It was passed a child from "+o+".");var a=x.getCurrentStack;x.getCurrentStack=function(){var t=N(r.type);return a&&(t+=a()||""),t},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',e,o),x.getCurrentStack=a}}function _r(r){var e="",o=P();return o&&(o=d(o.type))&&(e=` | ||
<%s key={someKey} {...props} />`,Q,P,ve,P),kr[P+Q]=!0}}return r===y?ce(d):le(d),d}}function fe(r,e,n){return Or(r,e,n,!0)}function ge(r,e,n){return Or(r,e,n,!1)}var be=ge,he=fe;Y.Fragment=y,Y.jsx=be,Y.jsxs=he}()),Y}process.env.NODE_ENV==="production"?z.exports=Pr():z.exports=Cr();var jr=z.exports;const Dr=`@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"); | ||
Check the render method of \``+o+"`."),e||(r=d(r))&&(e=` | ||
Check the top-level render call using <`+r+">."),e}var jr=E,M=Symbol.for("react.transitional.element"),Rr=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),rr=Symbol.for("react.consumer"),er=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),Cr=Symbol.for("react.offscreen"),or=Symbol.iterator,Ar=Symbol.for("react.client.reference"),x=jr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,nr=Object.prototype.hasOwnProperty,y=Object.assign,Or=Symbol.for("react.client.reference"),V=Array.isArray,j=0,ar,sr,dr,ur,tr,ir,lr;g.__reactDisabledLog=!0;var q,cr,J=!1,H=new(typeof WeakMap=="function"?WeakMap:Map),Nr=Symbol.for("react.client.reference"),fr,br={},gr={},hr={};_.Fragment=$,_.jsx=function(r,e,o,a,t){return L(r,e,o,!1,a,t)},_.jsxs=function(r,e,o,a,t){return L(r,e,o,!0,a,t)}}()),_}process.env.NODE_ENV==="production"?O.exports=vr():O.exports=mr();var pr=O.exports;const Er=`@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"); | ||
:root { | ||
@@ -225,2 +224,2 @@ /* root color for badges sizes */ | ||
} | ||
`,I="hudoro-badges-styles";(d=>{if(!document.getElementById(I)){const l=document.createElement("style");l.id=I,l.textContent=d,document.head.appendChild(l)}})(Er);const C={xs:14,sm:16,md:18,lg:18},xr=({size:d="md",variant:l="info",text:b,LeftIcon:g,RightIcon:u,border:c,corners:f="rounded"})=>pr.jsxs("div",{className:yr(d,l,c,f),children:[g?E.cloneElement(g,{width:C[d],height:C[d],style:{color:"inherit"}}):null,b,u?E.cloneElement(u,{width:C[d],height:C[d],style:{color:"inherit"}}):null]}),yr=(d,l,b,g)=>{let u=["hudoro-badges"];return d&&u.push(`hudoro-badges-${d}`),l&&u.push(`hudoro-badges-${l}`),b&&u.push("hudoro-badges-border"),g==="rounded"?u.push("hudoro-badges-rounded"):u.push("hudoro-badges-circular"),u.join(" ")};p.Badges=xr,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})}); | ||
`,nr="hudoro-badges-styles";(g=>{if(!document.getElementById(nr)){const b=document.createElement("style");b.id=nr,b.textContent=g,document.head.appendChild(b)}})(Dr);const L={xs:14,sm:16,md:18,lg:18},Ar=({size:g="md",variant:b="info",text:w,LeftIcon:y,RightIcon:h,border:C,corners:S="rounded"})=>jr.jsxs("div",{className:Fr(g,b,C,S),children:[y?R.cloneElement(y,{width:L[g],height:L[g],style:{color:"inherit"}}):null,w,h?R.cloneElement(h,{width:L[g],height:L[g],style:{color:"inherit"}}):null]}),Fr=(g,b,w,y)=>{let h=["hudoro-badges"];return g&&h.push(`hudoro-badges-${g}`),b&&h.push(`hudoro-badges-${b}`),w&&h.push("hudoro-badges-border"),y==="rounded"?h.push("hudoro-badges-rounded"):h.push("hudoro-badges-circular"),h.join(" ")};x.Badges=Ar,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}); |
{ | ||
"name": "@hudoro/badges", | ||
"version": "0.1.1-beta.18", | ||
"version": "0.1.1-beta.19", | ||
"description": "Badges component for Hudoro UI", | ||
@@ -33,7 +33,7 @@ "author": "Prawito Hudoro", | ||
"vite-plugin-dts": "^3.7.2", | ||
"@types/react": "^19.0.8", | ||
"@types/react-dom": "^19.0.3", | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0" | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"@types/react": "^18.2.55", | ||
"@types/react-dom": "^18.2.19" | ||
} | ||
} |
52286
1125